Results 1 to 6 of 6

Thread: Puzzler...

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2001
    Posts
    23

    Puzzler...

    Hi

    I have made a few scripts for a program I am making - one problem, if the user doesn't log out, but rather disconnects without logging off, how can I make the scripts recognize that and set the user as offline???

    Any help is appreciated,

    SuperBatman

    Thanks~

  2. #2
    PowerPoster sail3005's Avatar
    Join Date
    Oct 2000
    Location
    Chicago, IL, USA
    Posts
    2,340
    using what language?

    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
    USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2001
    Posts
    23

    Noooo!!

    lol - now i gotta wait another 24 hrs for a reply O.o

    I'm using Perl\CGI

  4. #4
    scoutt
    Guest
    can you can check for a cookie?

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Aug 2001
    Posts
    23
    Yes, I suppose I could, but - I what if the user clears the Temp Internet Files folder?? Then won't the cookie be gone??
    ...Then they would just log-in again... hmm...

    But the thing is, my CGI-Script "ListOnline.cgi" takes a text file and reads who is online from it - that's why I need to log them out if they disconnect...

    Anyway, thanks if anyone can help

  6. #6
    scoutt
    Guest
    well if you check from a text file then have your script check to see if they are online then if not just delete there name. or you can just delete there name after a certain amount of time out of the text file.

    like this site. I never log out but the site shows that I am not here as I ain't, but when I am here it doesn't require me to log in again. that is because it goes off my cookie.

    so if a certain amount of time have the scripts check the cookies to see who is here or not then if not then delete their name off the list.

Posting Permissions

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



Click Here to Expand Forum to Full Width