| 
	
 | 
 Posted by Gordon Burditt on 04/10/07 23:16 
>> Try looking at the cookie(s) on the browser.  What domain(s) are they 
>> in?  There should be one cookie for each domain.  Also try printing 
>> $_COOKIE['PHPSESSID'] to see what cookie is getting sent to each page. 
>> 
> 
>I try to execute print_r($_COOKIE); 
>FF: both old and new hosts print its PHPSESSID value. 
Same value or two different values?  I'm unclear whether you are trying 
to maintain a single session across multiple servers. 
 
>IE: old host print its PHPSESSID value, and new host print empty array 
>(no cookies sent?). 
 
That's what it means, and this is likely your problem. 
IE security settings are probably relevant here. 
 
>> >I have read user notes php manual section session handling, but none 
>> >of the solution works for me. 
>> >Is it cookie problem? 
>> 
>> If you are constantly getting new sessions on every page hit, it's 
>> usually a cookie problem, assuming you are not trying to use 
>> trans_sid.  You can't maintain the *SAME* session between servers 
>> in two different domains (even if it's the same server). 
> 
>I've decided to leave this problem and use IP address since I have no 
>idea to solve strange IE behaviour. 
> 
>Thank you very much. 
>
 
  
Navigation:
[Reply to this message] 
 |