Session_start() has to be the first thing at the top of the page before
anything else. Even header info.

I just got this answered for me about two weeks ago....  

> -----Original Message-----
> From: Donpro [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 11, 2004 10:20 AM
> To: php list
> Subject: [PHP] Sessions on Win2k
> 
> Hi,
> 
> 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?
> 
> Thanks,
> Don
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



****************************************************************** 
The contents of this e-mail and any files transmitted with it are 
confidential and intended solely for the use of the individual or 
entity to whom it is addressed.  The views stated herein do not 
necessarily represent the view of the company.  If you are not the 
intended recipient of this e-mail you may not copy, forward, 
disclose, or otherwise use it or any part of it in any form 
whatsoever.  If you have received this e-mail in error please 
e-mail the sender. 
****************************************************************** 


Reply via email to