I am using Asp.NET Forms authentication for my project. When the authentication cookie expires, Forms authentication redirects to loginUrl, and appends ReturnUrl parameter in query string.
Eg http://localhost:1234/Default.aspx?ReturnUrl=/blabla
Now, I want to add a parameter Id, to this url, such as:
http://localhost:1234/Default.aspx?ReturnUrl=/blabla&Id=123
Where the value for Id should be fetched from code behind.
I checked this, but it doesn't solve my problem.