> I tried some advice you gave , i tried to destroy the session cookie
> wiht setcookie(session_name()); and setcookie(session_name(),-3600);
> but the cookie is still there . Instead , there are now 2 cookies
> with the same name , the one has the session id , the other has no
> contents! HOW CAN I DELETE THESE THINGS !!!
My mistake...at first you destroy the session, then you are using
session_name(). The session_name() function will then (of course) return an
empty string. Try setting the cookie (with -3600) before session_destroy().
First question: why are you using a cookie??? If you use session_start(), a
cookie is automaticaly send to the client.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php