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

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

Reply via email to