Author: aagarwal | Posted on: 9/30/2008 10:46:44 PM | Views : 437

Hi,

I am new to ASP.NET 2.0 and developing a website that uses the membership provider using Forms authentication. My authentication expires after 30 minutes which is expected and clicking anything on the open page automatically redirects the user to the Login.aspx page. What I would like to do instead is one of two things. Either dynamically add some text on the Login.aspx page that tells the user that the session was expired due to inactivity, or redirect the user to an entirely different page where I can have the desired text along with a Login control.  I have looked at the global.asax file but it does not provide any events for authentication timeout. It has events for Session_End but I am not using any session variables and so that event does not fire for me.

The other thing I would like to accomplish is that after the authentication expires and the user logs on again, I would like to send them to the main member's page (default url ...

Go to the complete details ...