G
Guest
I am using Form Authentication with the new authentication controls in
ASP.NET 2.0. I would like to be able to check to see if the user's session
has timed out and redirect them to a page to allow them to re-login in.
I don't want the page to be the same as the login page, since I would like to
give them a message to let them know what happened. I have tried testing a
session variable to see if it is "Nothing". This technique worked for me in
Version 1.0 of .NET but I am having trouble getting it to work in 2.0. My
current situation is that my application re-directs to the original Login
screen despite my
testing the session variable.
Anyone out their have a good technique for letting a user know that their
session has timed out. (Or even better is about to time out)
Is there any sample code out their to do this (I have no money to buy
a control, I need freeware
.
Also if Microsoft is listening, this would be a good control to add to the
next version of Visual Studio, since it seems that everyone would need to
do this.
Thanks in advance...Ed
ASP.NET 2.0. I would like to be able to check to see if the user's session
has timed out and redirect them to a page to allow them to re-login in.
I don't want the page to be the same as the login page, since I would like to
give them a message to let them know what happened. I have tried testing a
session variable to see if it is "Nothing". This technique worked for me in
Version 1.0 of .NET but I am having trouble getting it to work in 2.0. My
current situation is that my application re-directs to the original Login
screen despite my
testing the session variable.
Anyone out their have a good technique for letting a user know that their
session has timed out. (Or even better is about to time out)
Is there any sample code out their to do this (I have no money to buy
a control, I need freeware
Also if Microsoft is listening, this would be a good control to add to the
next version of Visual Studio, since it seems that everyone would need to
do this.
Thanks in advance...Ed