Click here to Skip to main content
15,896,512 members
Home / Discussions / Web Development
   

Web Development

 
GeneralDownload Pin
Kasumwal21-Aug-05 22:05
Kasumwal21-Aug-05 22:05 
GeneralRe: Download Pin
Guffa22-Aug-05 1:16
Guffa22-Aug-05 1:16 
GeneralRe: Download Pin
Anonymous22-Aug-05 2:01
Anonymous22-Aug-05 2:01 
GeneralRe: Download Pin
Guffa22-Aug-05 8:38
Guffa22-Aug-05 8:38 
GeneralSimple web service question Pin
Vecta21-Aug-05 21:47
Vecta21-Aug-05 21:47 
GeneralRe: Simple web service question Pin
Vecta23-Aug-05 21:03
Vecta23-Aug-05 21:03 
Generalcan't figure is out Pin
Tim Zorn21-Aug-05 12:45
Tim Zorn21-Aug-05 12:45 
GeneralRe: can't figure is out Pin
alex.barylski21-Aug-05 13:21
alex.barylski21-Aug-05 13:21 
When the page unloads...???

I don't think thats possible...I think by the time onbeforeunload() fires it prevents you from doing anything but maybe sending an alert() to the end user..

If memory serves correct I've tried this before, but saving cookies instead of sending HTTP requests...same thing...I got no where...

I can tell you that how most systems accomplish this who's logged in/logged out is by actually using a temp session table with records that expire every 15, 20 mins or so.

The display of whose online and who isn't...isn't really real time...even if you set the session expiration time to 1 minute...if the session record is created a split second before the person leaves the page/site...that person will apear logged in for another 59 seconds...which is only an illusion Smile | :)

So to sum it up...you can't do real time, but you can do it so that it gives a good idea as to who is online.

HTH

Cheers Smile | :)

It's frustrating being a genius and living the life of a moron!!!
GeneralRe: can't figure is out Pin
Tim Zorn21-Aug-05 14:08
Tim Zorn21-Aug-05 14:08 
GeneralRe: can't figure is out Pin
Tim Zorn21-Aug-05 15:00
Tim Zorn21-Aug-05 15:00 
GeneralRe: can't figure is out Pin
Guffa21-Aug-05 19:15
Guffa21-Aug-05 19:15 
Generalthis may be a newbie Q but... Pin
Anonymous20-Aug-05 19:54
Anonymous20-Aug-05 19:54 
GeneralRe: this may be a newbie Q but... Pin
Guffa20-Aug-05 21:38
Guffa20-Aug-05 21:38 
GeneralRe: Abt html drop down combo Pin
Guffa20-Aug-05 2:50
Guffa20-Aug-05 2:50 
GeneralAbt html drop down combo Pin
Anita Mistry20-Aug-05 2:22
Anita Mistry20-Aug-05 2:22 
GeneralRe: Abt html drop down combo Pin
Vasudevan Deepak Kumar23-Aug-05 0:49
Vasudevan Deepak Kumar23-Aug-05 0:49 
GeneralRe: Abt html drop down combo Pin
Vasudevan Deepak Kumar23-Aug-05 0:52
Vasudevan Deepak Kumar23-Aug-05 0:52 
QuestionHow to use Shockwave Flash Object?? Pin
zhouyinhui19-Aug-05 18:34
zhouyinhui19-Aug-05 18:34 
AnswerRe: How to use Shockwave Flash Object?? Pin
code-frog19-Aug-05 19:11
professionalcode-frog19-Aug-05 19:11 
Generalencrypt and decrypt Pin
GeordieWebProgrammer19-Aug-05 4:57
GeordieWebProgrammer19-Aug-05 4:57 
GeneralRe: encrypt and decrypt Pin
Guffa19-Aug-05 22:36
Guffa19-Aug-05 22:36 
GeneralRe: encrypt and decrypt Pin
alex.barylski21-Aug-05 10:00
alex.barylski21-Aug-05 10:00 
GeneralRe: encrypt and decrypt Pin
Vasudevan Deepak Kumar23-Aug-05 0:40
Vasudevan Deepak Kumar23-Aug-05 0:40 
GeneralOn-click events for dynamically created buttons Pin
wpcolleen19-Aug-05 4:20
wpcolleen19-Aug-05 4:20 
GeneralRe: On-click events for dynamically created buttons Pin
Diep-Virezer20-Aug-05 9:35
Diep-Virezer20-Aug-05 9:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.