Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

destroy sessions when browser close/ go to another url

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello,

On my site I work with sessions. When a user loggs in, info about the users is being kept into sessions. My problem is that the sessions aren't destroyed when they don't logg off before they go to another site or when they close the browser.
Is it possible to destroy sessions when they close the browser or when you go to another url?

Greetz,
Boogey Man
 
When your users to another URL? no.

When the browser is shut down? That's the way PHP's session cookies work by default. It they don't for you, it's abnormal. ______________________________________________________________________
My God! It's full of stars!
______________________________________________________________________
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top