Re: cookies in windows
| From: | michael | Date: | Thu, 27 Jun 2002 17:03:15 +0000 |
| Subject: | Re: cookies in windows | ||
| References: | 1 2 3 4 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14444@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.
Localhost has c:\winnt\temp and that folder is set for everyone to do
everything
The server that it works on is set to /tmp.
> 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
It sound obvious, and it is set to 1. But hey, you'll never know. I've done
worse misstakes than that ;)
I haven't solved it yet. I don't know what to do anymore. Someone must know
what my problem is... I hope.
Thx anyway. I'll let you know if I solve it.
--
. : . : . : . : . : . : . : . : . : . : . : . : . : .
michael ericsson
michael@realitet.net
"Daniel Berwig" <daniel@pop3web.com.br> wrote in message
news:20020627141850.61544.qmail@pb1.pair.com...
> 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
> > >
> >
> >
>
>