Hi,
I have a site that uses sessions for 2 things.
1 - logging a user in and maintaining ther elogged in status
2 - storing user entered values across pages
Is there an easy way I can kill all the user entered sessions data but not kill the logged in status session?
I saw this code:
// Unset all of the session variables.
session_unset();
// Finally, destroy the session.
session_destroy();
but this also kills the logged in status session, Should my sessions have different names and then they can be destroyed by name (at the moment they aren't named and are created with session_start();
Any help is appreciated.
Martin