> 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
[EMAIL PROTECTED]


"Daniel Berwig" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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" <[EMAIL PROTECTED]> escreveu na mensagem
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > 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
> > [EMAIL PROTECTED]
> >
> >
> > "Stuart Dallas" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > 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
> > >
> >
> >
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to