How to detect the user has logged out?

Discussion in 'ASP .Net' started by Showjumper, Jan 27, 2004.

  1. Showjumper

    Showjumper Guest

    I am using forms authentication to handle the login of user for a site. Once
    the user is signed out via
    FormsAuthentication.SignOut(), i want to detect that he has logged out and
    then display a message on the login page (to which he is redirected) saying
    "You have been logged out". I am sure it is something easy whic i am not
    seeing. Thanks....
     
    Showjumper, Jan 27, 2004
    #1
    1. Advertising

  2. Showjumper

    Curt_C [MVP] Guest

    just response.redirect them after the call

    --
    Curt Christianson
    Owner/Lead Developer, DF-Software
    www.Darkfalz.com


    "Showjumper" <> wrote in message
    news:...
    > I am using forms authentication to handle the login of user for a site.

    Once
    > the user is signed out via
    > FormsAuthentication.SignOut(), i want to detect that he has logged out and
    > then display a message on the login page (to which he is redirected)

    saying
    > "You have been logged out". I am sure it is something easy whic i am not
    > seeing. Thanks....
    >
    >
     
    Curt_C [MVP], Jan 27, 2004
    #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. - Steve -

    Gracefully Handling Logged Out User

    - Steve -, Jun 22, 2004, in forum: ASP .Net
    Replies:
    6
    Views:
    416
    - Steve -
    Jun 23, 2004
  2. keithb
    Replies:
    0
    Views:
    658
    keithb
    Feb 16, 2006
  3. Jack
    Replies:
    2
    Views:
    676
  4. Replies:
    1
    Views:
    972
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Apr 12, 2007
  5. joe slash blow
    Replies:
    4
    Views:
    151
    Ben Morrow
    Sep 1, 2004
Loading...

Share This Page