|
Posted by Bocah Sableng on 04/10/07 06:24
On Apr 10, 11:12 am, gordonb.72...@burditt.org (Gordon Burditt) wrote:
> 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.
IE: old host print its PHPSESSID value, and new host print empty array
(no cookies sent?).
> >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]
|