Re-Authenticate users after timeout

Discussion in 'ASP .Net Security' started by Fred Plourde, Mar 31, 2005.

  1. Fred Plourde

    Fred Plourde Guest

    Hi,

    I'm working on a web application using asp.net, vb.net and SQL 2000.

    I'm using web form authentication to control the access of the application.
    I'm trying to force the user to go back to the authentification page after a
    timeout occurs.

    The Session seems to expire but the cookie (non persistent) is still active.

    What can I do to force the user to re-authenticate after a timeout.

    Thanks,

    Fred
    Fred Plourde, Mar 31, 2005
    #1
    1. Advertising

  2. Fred Plourde

    Brock Allen Guest

    Look into using Forms authentication which manages all of this for you, rather
    than you doing it manually with Session variables.

    http://msdn.microsoft.com/library/d...html/cpconthecookieauthenticationprovider.asp

    -Brock
    DevelopMentor
    http://staff.develop.com/ballen



    > Hi,
    >
    > I'm working on a web application using asp.net, vb.net and SQL 2000.
    >
    > I'm using web form authentication to control the access of the
    > application. I'm trying to force the user to go back to the
    > authentification page after a timeout occurs.
    >
    > The Session seems to expire but the cookie (non persistent) is still
    > active.
    >
    > What can I do to force the user to re-authenticate after a timeout.
    >
    > Thanks,
    >
    > Fred
    >
    Brock Allen, Mar 31, 2005
    #2
    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. Sync Walantaji

    Authenticate users using AD and LDAP

    Sync Walantaji, Nov 15, 2004, in forum: ASP .Net
    Replies:
    7
    Views:
    11,510
    =?Utf-8?B?UGF0cmljay5PLklnZQ==?=
    Nov 17, 2004
  2. Edwin Knoppert
    Replies:
    1
    Views:
    400
    Edwin Knoppert
    Sep 8, 2006
  3. Arpan

    Authenticate Users In Web.Config?

    Arpan, Sep 16, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    19,159
    Cowboy \(Gregory A. Beamer\)
    Sep 17, 2006
  4. Replies:
    1
    Views:
    446
    Manuel Ricca
    Dec 13, 2007
  5. JIM.H.

    Q: Authenticate users over domains

    JIM.H., Sep 25, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    388
    Anthony Jones
    Sep 30, 2008
Loading...

Share This Page