Jump to content

Recommended Posts

You could look into using the javascript "onbeforeunload" to initiate an ajax query to a php script which destroys the session data when the user leaves the page, or closes the window.

Complicated, but it would do the job.
i have tried to find out how i use ajax, where i get it on the site, not able to see what i do,

[!--quoteo(post=376706:date=May 24 2006, 04:30 PM:name=wisewood)--][div class=\'quotetop\']QUOTE(wisewood @ May 24 2006, 04:30 PM) [snapback]376706[/snapback][/div][div class=\'quotemain\'][!--quotec--]
You could look into using the javascript "onbeforeunload" to initiate an ajax query to a php script which destroys the session data when the user leaves the page, or closes the window.

Complicated, but it would do the job.
[/quote]
i appreciate it.

thank you

[!--quoteo(post=376920:date=May 25 2006, 09:07 AM:name=wisewood)--][div class=\'quotetop\']QUOTE(wisewood @ May 25 2006, 09:07 AM) [snapback]376920[/snapback][/div][div class=\'quotemain\'][!--quotec--]
I will try and find some time later to put together a very basic sample for you.
[/quote]
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.