Re: cookies in windows
| From: | Daniel Berwig | Date: | Thu, 27 Jun 2002 14:25:54 +0000 |
| Subject: | Re: cookies in windows | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14443@lists.php.net to get a copy of this message | ||
Wich of the serers is using which configuration for session.save_path?
I your local sever is using session.save_path - /tmp, then try using an
absolute path, like "C:\Temp", but make sure the directory exists.
And I know it may sound a little obvious, but take a look at your php.ini
file and make sure it is configured like this:
session.use_cookies = 1
Please let me know if you've got to solve the problem.
Best Regards,
Daniel Berwig.
"Michael" <michael@realitet.net> escreveu na mensagem
news:20020627094339.43104.qmail@pb1.pair.com...
> > 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
> >
>
>