Add this to every page_load that you want the redirect on timeout to happen
Response.AppendHeader("Refresh", Convert.ToString((Session.Timeout * 60) +
10) & ";URL=timeout.aspx")
This will redirect to a page after a specified interval in seconds.
You could also use this method to redirect to a warning page by changing the
'+10' to a '-30', checking that the result is > 0, and the url to your
warning page. In page load of your warning page, set the refresh to redirect
to your login page or some sort of message page when the timeout actually
occurs.
HTH..
"BillGatesFan" <kl******@hotmail.com> wrote in message
news:11**********************@l41g2000cwc.googlegr oups.com...
Is there a way to warn the user that there Session is about to end? I'm
using Forms authentication and when there session ends it takes them
back to the login screen like it is designed to do.
Also it there anyway to make it take the user to a different page once
the session ends?
Thanks