RE: [PHP] Session Problems....HELP!!!!

2001-05-03 Thread Johnson, Kirk
Just move these two lines to the beginning of the file: session_start(); session_register(test); These have to be before any output is sent to the browser. Kirk -Original Message- From: Bruno Freire [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 2:42 PM

Re: [PHP] Session Problems....HELP!!!!

2001-05-03 Thread Nikhil Goyal
the session_start() should be placed at the top, before the HTML ?php session_start(); ? html head ... ?php session_register(test) ... Nikhil Bruno Freire [EMAIL PROTECTED] wrote in message

RE: [PHP] Session Problems....HELP!!!!

2001-05-03 Thread Altunergil, Oktay
If you don't use output buffering, the session stuff has to be the first thing in you script. In other words, you should not send anything to the browser before the session functions. In your case you are sending html tags to the browser before the session functions. Rewrite it as the following: