Re: Sessions on Win2k

From: Date: Wed, 11 Feb 2004 20:05:14 +0000
Subject: Re: Sessions on Win2k
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177453@lists.php.net to get a copy of this message
Hello Don, On 11 Feb 2004 at 11:19, Donpro wrote: > I've searched the archives and note that many have probelms using session on > a Win2K server. I am getting a > > Undefined index: sessions in > D:\inetpub\mydomain\www\forms\formmail\formmail.php on line 768 > > error. Line 768 is: session_start(); > > It works Ok on Linux; is there any "special" Windows configuration? Are you perchance running your script on a machine with an active firewall? I had all sorts of session-related problems and spent ages trying to figure out what was wrong with my code until eventually I read somewhere that ZoneAlarm might interfere with sessions. I shut down ZA and — guess what? — there wasn't anything wrong with my code after all. Now whenever I need to test scripts involving sessions I disconnect from the Internet and shut down ZoneAlarm. Hope this helps, Erik

« previous php.general (#177453) next »