Session time out & Session end

Jobi K John posted at 08-May-08 02:04
I am using,

<sessionState timeout="20" mode="InProc" />

and it works fine. but the following code is not executing.

void Session_End(object sender, EventArgs e)
{
        Response.Redirect("~/SessionExpired.aspx", false);
}

How can I solve it?
Is it possible to fire the session time out only if the user is idle for 20 minutes?



Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  Session time out & Session end - Jobi K John  08-May-08 2:04:04 PM
      no - santhosh kapa  08-May-08 2:44:19 PM
      Session End is fired independently at the server - Peter Bromberg  08-May-08 3:05:07 PM
      `to redirect on session timeout - mv ark  08-May-08 10:09:14 PM
      use Session.Abandon(); - Vasanthakumar D  09-May-08 12:34:37 AM
      Try this - npsenthil kumar  09-May-08 4:46:30 AM
      This isn't an exact science but JavaScript can work well - Robbe Morris  09-May-08 12:25:40 PM
View Posts