These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Session Timeout

I am having a difficult time trying to handle the session time out.  Currently it refreshes the current form and I can't seem to get it to go back to the log in form.   Is there an example of how to capture that event?
Dan DeWitt 9/4/2009 9:40 AM
Yes, the control refreshes the host page on purpose. This way, your host page can detect the session timeout and redirect to your login page. So you only need to check if session exists via checking an arbitrary session variable against null in your host page's Page_Load event and redirect if required.
Cem Alacayir 9/7/2009 3:27 PM