Possible Duplicate:
How do I expire a PHP session after 30 minutes?
Hi All,
The problem I am running into is that my host will not let me overwrite PHP.ini settings. They currently have the max lifetime of a session set to 24 minutes (ridiculous).
My idea is to destroy the session completely and then recreate it (ideally giving it a new lifetime -- right?).
How would I go about this?
NOTE: session_destroy only deletes the data, it does not destroy the actual session.
I have also tried (host doesn't allow overwriting settings)
ini_set("session.gc_maxlifetime", 86400);