Re: Session timout problem

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Ismail Rajput (human_to_human_at_hotmail.com)
Date: 02/22/04


Date: Mon, 23 Feb 2004 01:39:01 +0500

i think you do not have to use

timeout = "1"

use

timeout= 1
"mg" <mg@theworld.com> wrote in message
news:4EB06580-0453-4278-901B-F7D7F34397CE@microsoft.com...
> I can't get WebForm1 to load load automatically after a session timeout,
with the following code. How can I do so?
>
> In Web.config:
>
> <sessionState
> mode="InProc"
> timeout="1"
> />
>
>
> In Global.asax.cs:
>
> protected void Session_End(Object sender, EventArgs e)
> {
> Response.Redirect("WebForm1.aspx");
> }



Relevant Pages

  • Session timout problem
    ... I can't get WebForm1 to load load automatically after a session timeout, ... protected void Session_End(Object sender, EventArgs e) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Session timeout - WebForm
    ... I can't get WebForm1 to load load automatically after a session timeout, ... protected void Session_End(Object sender, EventArgs e) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Passing Variables between Webforms
    ... protected void buttonOne_Click(object sender, EventArgs e) { ... HTH ... > I have a button on webform1 that when I click it I need to pass some ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: IE Page caching
    ... <HTML> ... private void Page_Load(object sender, System.EventArgs e) ... After you click the button on Webform1, the browser will open webform3 and ...
    (microsoft.public.dotnet.framework.aspnet.security)