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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unloading the browser and run php script?Pls Help

Status
Not open for further replies.

Forri

Programmer
Oct 29, 2003
479
MT
Hi All

I'm trying to run a php script whenever the user either closes the browser or changes url; changing the url means that he completly moves out from my site (eg if he changes url from to then it runs script).

This is because i would like to log out the user automatically if he doesn't logout manually!

Nick
 
You should do this by using a cookie or better still by integrating sessions into your login system.
 
can u explain further pls!

Tahnks for your concern
Ncik
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top