I've just encountered a problem. I store session ids in a cookie to retrieve the basket info when a user leaves a site and then comes back again. My problem being that as a test i cleared all sessions but kept the cookie but now the page just continues to load.
my question is, is there a way to firstly use php to get the tmp directory for me to then test if the session id stored is valid.
regards,
Phil
EDIT
i currently use
if( isset( $_COOKIE[$cookieKey] ) ) {
session_id( $_COOKIE[$cookieKey] );
}
// create a new or carry on the existing session
session_start();
which is giving me the problem