Re: sessions and trans-sid problem/question
| From: | Jean-Christian Imbeault | Date: | Sun, 24 Nov 2002 07:47:58 +0000 |
| Subject: | Re: sessions and trans-sid problem/question | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125768@lists.php.net to get a copy of this message | ||
Ernest E Vogelsinger wrote:
if ($_COOKIE[$_SESSION['cookie_name']] == $_SESSION['cookie_token']) {
Ok, please forgive my ignorance, but in PHP isn't $_COOKIES the same as $_SESSION?. I thought it was if the user had cookies turned off (and even if the user had cookies turned on come to think of it) ... If not I'm in trouble.
I was always under the impression that $_SESSION vars were passed as cookies ...
Hc