Re: [PHP] Session (maybe cookies)

2004-02-03 Thread John Nichel
Matt Matijevich wrote: Take a look at the manual for sessions session_start() has to be the first thing called It doesn't have to be the first thing called. It only has to be called BEFORE any output is sent to the browser IF you are using cookie based. -- By-Tor.com It's all about the Rush ht

Re: [PHP] Session (maybe cookies)

2004-02-03 Thread Matt Matijevich
http://www.w3.org/TR/html4/loose.dtd";> Untitled Document Take a look at the manual for sessions session_start() has to be the first thing called http://www.w3.org/TR/html4/loose.dtd";> Untitled Document -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

Re: [PHP] Session (maybe cookies)

2004-02-03 Thread Adam Bregenzer
On Tue, 2004-02-03 at 13:44, Rolf van de Krol wrote: > I tried to start a session by this code: > "http://www.w3.org/TR/html4/loose.dtd";> > > > Untitled Document > > > > > echo(session_id()); > ?> > > The session_start() function call needs to be at the top of the page, before you send

[PHP] Session (maybe cookies)

2004-02-03 Thread Rolf van de Krol
Hi all, I tried to start a session by this code: http://www.w3.org/TR/html4/loose.dtd";> Untitled Document When I execute it I got the following error: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at e:\rolf\sites\thinkquest\sessiontest.p