|
Posted by Yangshiqi on 02/06/05 09:32
Make sure that in your php.ini, include this:
variables_order = "GPC"
gpc_order = "GPC"
there C means $_COOKIES
Best regards,
Yang Shiqi
-----Original Message-----
From: Theeraputh Mekathikom [mailto:theeraputhm@siamcoolsite.com]
Sent: Sunday, February 06, 2005 2:52 PM
To: yangshiqi
Cc: php-general@lists.php.net
Subject: Re: [PHP] Problem with session
I found the problem. I have passed SID using GET and then using
session_id($_GET['sid']);, it works fine.
But it seems that I cannot use cookie at all. I tried to set cookie
manually, setcookie();. Nothing happen, I cannot
retrive my variable using $_COOKIE['sid'];. Is there anyway to check
cookie enabling? My web browser
seems to be ok since I can accept cookies from other site. I do wonder
whether that it is because the server PHP
configuration.
Best Regards,
Thone
[Back to original message]
|