How to Log Out

Discussion in 'ASP .Net Security' started by EagleRed@HighFlyingBirds.com, Feb 14, 2006.

  1. Guest

    I have an ASP.NET 2.0 application using Forms authentication with a SQL 2005
    Membership provider. I can get users logged in OK, but it is not clear how
    to log them out without timing out the session? How can this be done? I'd
    like to provide a logout button and log the user out in the handler.

    Thanks for your help.
     
    , Feb 14, 2006
    #1
    1. Advertising

  2. FormsAuthentication.SignOut :)

    ---------------------------------------
    Dominick Baier - DevelopMentor
    http://www.leastprivilege.com

    > I have an ASP.NET 2.0 application using Forms authentication with a
    > SQL 2005 Membership provider. I can get users logged in OK, but it is
    > not clear how to log them out without timing out the session? How can
    > this be done? I'd like to provide a logout button and log the user
    > out in the handler.
    >
    > Thanks for your help.
    >
     
    Dominick Baier [DevelopMentor], Feb 14, 2006
    #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. Henrik_the_boss
    Replies:
    0
    Views:
    2,711
    Henrik_the_boss
    Nov 5, 2003
  2. Amratash
    Replies:
    0
    Views:
    559
    Amratash
    Apr 13, 2004
  3. =?Utf-8?B?VG9tIFdpbmdlcnQ=?=

    My.Log.Writeexception not writing to Application Event Log.

    =?Utf-8?B?VG9tIFdpbmdlcnQ=?=, Jan 20, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    2,413
    =?Utf-8?B?VG9tIFdpbmdlcnQ=?=
    Jan 20, 2006
  4. J
    Replies:
    2
    Views:
    711
  5. Leena Jethwa

    Create a log-in & log-out page

    Leena Jethwa, May 1, 2009, in forum: Ruby
    Replies:
    2
    Views:
    115
    Mike Stephens
    May 1, 2009
Loading...

Share This Page