Click here to Skip to main content
15,897,187 members
Articles / Web Development / ASP.NET

Maintain Query String after Forms Authentication cookie expires

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
5 Jul 2011CPOL 12.8K   4  
Maintain Query String after forms authentication cookie expires and the user is redirected to the login page.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
5 Jul 2011#realJSOP
I do it this way:0) Create a base page class, and store the current page's url (you can do this any number of ways, so I'll leave it to your imagination):public class MyBasepage : System.Web.UI.Page{ public string CurrentUrl { get; set; } }1) Store the page's Url to a...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Iran (Islamic Republic of) Iran (Islamic Republic of)
I hold a BS degree in software engineering and am a Microsoft Certified Solution Developer(MCSD).
I have more than 8 years of experience in .NET developement, mostly web develop using C# and ASP.NET.

Comments and Discussions