How to manually force a logout using asp.net 2.0

Discussion in 'ASP .Net Security' started by AAOMTim, Aug 29, 2006.

  1. AAOMTim

    AAOMTim Guest

    I am using forms authentication and the asp.net 2.0 login controls along with
    the asp.net membership provider. I would like to manually log the user off
    from within the application. I tried using session.abandon, but that merely
    ends the sessionbut still does not log the user off. What do I need to do to
    log them off?
    --
    Tim
    AAOMTim, Aug 29, 2006
    #1
    1. Advertising

  2. AAOMTim

    Guest

    AAOMTim wrote:
    > I am using forms authentication and the asp.net 2.0 login controls along with
    > the asp.net membership provider. I would like to manually log the user off
    > from within the application. I tried using session.abandon, but that merely
    > ends the sessionbut still does not log the user off. What do I need to do to
    > log them off?
    > --
    > Tim


    Use: FormsAuthentication.SignOut();
    , Aug 29, 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. =?Utf-8?B?dmE=?=

    RE: Logout status doesn't really logout?

    =?Utf-8?B?dmE=?=, Mar 26, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    579
    =?Utf-8?B?dmE=?=
    Mar 26, 2006
  2. =?Utf-8?B?RFdT?=

    RE: Logout status doesn't really logout?

    =?Utf-8?B?RFdT?=, Mar 26, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    572
    =?Utf-8?B?RFdT?=
    Mar 26, 2006
  3. =?Utf-8?B?dmE=?=

    Logout status doesn't really logout?

    =?Utf-8?B?dmE=?=, Mar 26, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    686
    =?Utf-8?B?dmE=?=
    Mar 26, 2006
  4. Chumma Dede
    Replies:
    4
    Views:
    1,171
  5. Force timeout (logout)

    , May 5, 2006, in forum: ASP .Net
    Replies:
    5
    Views:
    4,270
    bruce barker \(sqlwork.com\)
    May 5, 2006
Loading...

Share This Page