Re: [PHP] right place to start a session?

2002-04-27 Thread Padraig Kitterick
The session_start() needs to come before any code outputs anything to the browser, so in your case you need to put it before the and tags: Here's my code: > > > //trying to start a session right here for the usr and pwd variables > session_start(); > session_register("usr"

Re: [PHP] right place to start a session?

2002-04-27 Thread Miguel Cruz
On Sat, 27 Apr 2002, Kirk Babb wrote: > Here's my code: > > > //trying to start a session right here for the usr and pwd variables > session_start(); > session_register("usr", "pwd"); > if (isset($login)): > ?> >

[PHP] right place to start a session?

2002-04-27 Thread Kirk Babb
Here's my code: