RE: [PHP] session example

From: Date: Sun, 30 Jul 2000 15:16:26 +0000
Subject: RE: [PHP] session example
Groups: php.general 
Request: Send a blank email to php-general+get-9051@lists.php.net to get a copy of this message
It worked, the problem was that there were an empty line before the code ! there is one other thing which confuses me, what I read is that there are 2 ways to pass the session id between pages, either by get method, or using cookies, if I stick with cookies do I have to add any manual cookie command or the session automatically set this cookie for me ( if the user didnt turn cookies off ) ? thanks On Sun, 30 Jul 2000 09:55:01 -0700, Milton Thomas said: > > you have to make sure that the "session_start" is the first command in > the > file. > > eg. > <? session_start(); > .... > ?> > > If you put anything before that write to the browser then u will have > probs > Milton C. Thomas > Freelance Web Developer > Resume : http://resumes.dice.com/millie > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.general (#9051) next »