ASP.NET 2.0 Forms Authentication - not always redirecting toLogin.aspx after session timeout

Discussion in 'ASP .Net Security' started by alovhaug@gmail.com, May 16, 2008.

  1. Guest

    Here's my situation: I have an ASP.NET 2.0 application using Forms
    Authentiation. The user successfully logs in, then walks away from
    their computer so that the session times out. (No problem.) When they
    return to their computer (not realizing their timed out), and click on
    a button on the page, sometimes it will take take them back to the
    login.aspx to make them log-in again, which is PERFECT.

    However, sometimes they are either getting the message "Internet
    Explorer cannot display the webpage" (if using IE) or "The connection
    was reset" (if using Firefox). This seems to happen before a postback
    to the server, as if I am debugging using VS2008 breakpoints are never
    hit (even in the global.asax.vb). It does not seem to be consistent -
    a button that will work the first time around will break the next
    time.

    I had hoped that it was something unique to my development
    environment, but my testers on a completely different server are also
    experiencing this. I've done all kinds of google searches, but these
    particular messages cover a host of problems and no pages I've looked
    at so far seem related. I thought perhaps it was a problem with a
    third party control, but I can reproduce this with a simple page with
    no controls but a single button and some text.

    Any suggestions? I've run out of ideas.
     
    , May 16, 2008
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Do
    Replies:
    2
    Views:
    6,388
  2. AVance
    Replies:
    1
    Views:
    3,120
    AVance
    Jul 28, 2004
  3. Freddie
    Replies:
    0
    Views:
    235
    Freddie
    Jun 29, 2004
  4. AVance
    Replies:
    3
    Views:
    151
    AVance
    Aug 19, 2004
  5. Tim_Mac
    Replies:
    0
    Views:
    171
    Tim_Mac
    May 11, 2005
Loading...

Share This Page