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
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php