Re: Session and Cookie error on Windows+Apache

From: Date: Fri, 07 May 2004 10:22:34 +0000
Subject: Re: Session and Cookie error on Windows+Apache
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-23640@lists.php.net to get a copy of this message
Seems to be my php scripts are only run on Windows+IIS :( and couldn't migrate to Windows+Apache. I write small and short scripts to test the session under Windows+Apache, then it run well, Seems that i should rewrite the scripts so it will run on both IIS and Apache. thank you Jonathan Pilborough and Romain, Regards At 08:03 PM 5/6/2004, you wrote:
register_globals is set to off by default, so you will have to use the $_SESSION[] superglobal to access the session variables - is this why it appears a new session has been created? - also check session_start() in all pages. You could try telnet-ting the page e.g. HEAD /cookietest.php HTTP/1.0 and see whether the cookie is set- the should be some mention of set-cookie in the headers returned. That nearly is all my ideas! Regards, Jonathan Pilborough ____________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.windows (#23640) next »