Re: cookies in windows
| From: | michael | Date: | Thu, 27 Jun 2002 09:44:23 +0000 |
| Subject: | Re: cookies in windows | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14433@lists.php.net to get a copy of this message | ||
> My guess is that it's register_globals related.
> Your code is not the only variable when moving from server to server.
Check the
> PHP version on the other server and also compare your register_globals
setting
> to theirs.
They're all the same. Both are version 4.2.1 and register_blobals is set to
On.
If I look at the Session part of phpinfo() I see 2 differences between the
servers:
1. session.save_path - /tmp and c:\winnt\temp
2. session.use_trans_sid - only on localhost
Any other suggestions?
--
. : . : . : . : . : . : . : . : . : . : . : . : . : .
michael ericsson
michael@realitet.net
"Stuart Dallas" <stuart@sharedserver.net> wrote in message
news:42148622537.20020627102903@sharedserver.net...
> On Thursday, June 27, 2002, 9:55:00 AM, "michael" wrote:
>
> > I've installed php v4.2.1 on my IIS (Win2000). The IIS works fine with
php
> > but I can't set a cookie. There is no error message or anything, only no
> > cookie. Does anyone have an idea what might be wrong?
>
> My guess is that it's register_globals related.
>
> > There's nothing wrong in my code cause it works fine on another server,
just
> > not on localhost.
>
> Your code is not the only variable when moving from server to server.
Check the
> PHP version on the other server and also compare your register_globals
setting
> to theirs.
>
> --
> Stuart
>