Logging when user logs on - ASPNET 2.0

Discussion in 'ASP .Net' started by Alain Hogue, Jan 27, 2006.

  1. Alain Hogue

    Alain Hogue Guest

    I need a way to record when a user log on to my website, even if he returns
    eventually and he had set the "Remember me" form cookie. I basically want to
    known when someone actually use my application and when. I also want to have
    that information only once per visit.

    For exemple if the user register with my website then I want to be notified
    once. Then the next time, and everytime after that, when he come back I want
    to receive a notification again, but only once. If he click the checkbox
    "Remember Me" in the "Login" control I want to known that he came back to my
    website.

    I have tried to use the "FormsAuthentication_OnAuthenticate" in the
    "Global.asax" but this event is fired numerous time per request and I dont
    even have access to the Session object to set a flag.

    Please help!
     
    Alain Hogue, Jan 27, 2006
    #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. Brian Lowe
    Replies:
    4
    Views:
    371
    Brian Lowe
    May 26, 2004
  2. Kirk Groome
    Replies:
    1
    Views:
    497
    =?Utf-8?B?RFdT?=
    Jan 26, 2006
  3. Replies:
    0
    Views:
    458
  4. jack trades
    Replies:
    7
    Views:
    447
    jack trades
    Feb 8, 2008
  5. Reckoner
    Replies:
    4
    Views:
    269
    Vinay Sajip
    Nov 7, 2009
Loading...

Share This Page