Click here to Skip to main content
15,887,249 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello people.

How do I get notified when a session expires in PHP?

I would like a piece of code that is executed when a session expires so that cleanup can be performed.

Help would be highly appreciated.

Thanks in advance
Posted
Updated 26-Mar-11 9:25am
v2

1 solution

After a very quick search on this, the general opinion is that you can't get notification.

This[^] thread (last answer) claims to have a solution though.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900