So how do I check if the session write failed?

I thought perhaps

if(session_id() == ""){
        echo "error";
}

but if all session_start does is basically assign a session ID then session_id will never be empty even when the write fails.

Thanks! :)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to