|
Posted by Bocah Sableng on 04/10/07 02:01
On Apr 10, 5:51 am, gordonb.7i...@burditt.org (Gordon Burditt) wrote:
>
> What is the domain name of the new host and the old one?
My old domain is sinau.dev, and the new one is op_pusat.dev. (I
use .dev for development)
> If they
> are in different domains, the browser won't send cookies (including
> the session cookie) from one domain to another.
> Do you have cross-links between virtual hosts?
I don't understand the meaning of 'cross-link'
> It looks like you are using
> host-only cookies (session.cookie_domain unset), so cookies won't
> be passed by the browser between hosts.
>
Reading your post, I found another clue. I try to check cookies.
Tested using FF 1.5, the problem disappear (session id remains
unchanged).
Using IE6, session id always changed, even if the domain is in trusted
sites list.
I try to get cookie info by executing
print_r(session_get_cookie_params()). Both old and new domain have the
same value:
Array
(
[lifetime] => 0
[path] => /
[domain] =>
[secure] =>
[httponly] =>
)
I have read user notes php manual section session handling, but none
of the solution works for me.
Is it cookie problem?
Navigation:
[Reply to this message]
|