SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Member ngaisteve1's Avatar
    Join Date
    May 2003
    Location
    Kuala Lumpur, Malaysia (Boleh!)
    Posts
    264
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Display online user id problem

    I have problem with displaying online user id. What I did is to have a table to store user id each time they login. When user click logout, the system will delete that user id using his session user id. The problem is if the user didn't click logout, that user id in the db will not be deleted. How do I fix this problem? Thanks.

  2. #2
    Also available in Large Si's Avatar
    Join Date
    Sep 2002
    Location
    Walsall, UK
    Posts
    1,911
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You will need to use your global.asa file in the root of your application to call a script when the user session ends (using Session_OnEnd). Read more about this over at W3 Schools which should give you enough info.
    Si
    Are you a Photoshop Jedi Master? Prove it!

    Is funky house your bag? You'll love this!

    Voice
    , eyes, ears, body and hands.


  3. #3
    Member ngaisteve1's Avatar
    Join Date
    May 2003
    Location
    Kuala Lumpur, Malaysia (Boleh!)
    Posts
    264
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok, i will try. thanks.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •