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@xxxxxxxxxxxxxxxx] Sent: Sunday, February 06, 2005 2:52 PM To: yangshiqi Cc: php-general@xxxxxxxxxxxxx Subject: Re: 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php