ASP.NET timeout

Discussion in 'ASP .Net' started by Sven S., Oct 20, 2003.

  1. Sven S.

    Sven S. Guest

    Hello,

    I have a form "default.aspx" with a button which does the following:

    Private Sub cb_Kommt_Click(ByVal sender As System.Object, ByVal e As
    System.EventArgs) Handles cb_Kommt.Click
    Session("Modes") = "Start"
    Response.Redirect("new_page.aspx")
    End Sub


    When I load the page "default.aspx" and I press the button the new
    page will be loaded as expected. But when I load the "default.aspx"
    and wait for a long time (e.g. 20 minutes) and after that I click the
    button, the page "default.aspx" gets reloded (instead of
    "new_page.aspx"). Why and how can I configure this timeout?

    Sven
     
    Sven S., Oct 20, 2003
    #1
    1. Advertisements

  2. Sven S.

    sameer Guest

    in web.config
    <sessionState timeout="60" />

    by default it is 20 minutes
     
    sameer, Oct 20, 2003
    #2
    1. Advertisements

  3. Sven S.

    Sven S. Guest

    I tryed this setting, but it doesn't work...
     
    Sven S., Oct 21, 2003
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.