Re: [PHP-DB] Re: losing my session variables

2002-10-29 Thread Peter Beckman
prepend.php gets called before running any page on a site. Put the "session_start()" in the prepend.php and you won't have to worry where you put it. Learn more about it on the php web site (don't have the url handy). Peter On Tue, 29 Oct 2002, Seabird wrote: > turns out, I already have a sess

[PHP-DB] Re: losing my session variables

2002-10-29 Thread Seabird
turns out, I already have a session_start(). I have some seperate files and use them as includes. The thing is... my login form is located on my "index.php" and if I do a login, only this file will recognize my session variables. I load pages external into a layer, but none of them get the session

[PHP-DB] Re: losing my session variables

2002-10-29 Thread Seabird
where do I place a session start in a script? before the form? after? inside? Jacco -- http://seabird.jmtech.ca Attitude is Everything! But Remember, Attitudes are Contagious! Is Yours worth Catching "Baroiller Pierre-Emmanuel" <[EMAIL PROTECTED]> wrote in message news:20021030002059.9083.qmai

[PHP-DB] Re: losing my session variables

2002-10-29 Thread BAROILLER Pierre-Emmanuel
You only need to add session_start() in your script before storing your data into the $_SESSION array. Without session_start(), no session is started by php... Regards, P.E. Baroiller "Seabird" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Hi everyone, > > I use a login