Re: [PHP] Session Issue

2003-08-30 Thread Seth Willits
On Friday, August 29, 2003, at 07:44 PM, Curt Zirzow wrote: Does the next page call session_start()? all pages that use $_SESSION, must call that first. Ohhh... ok. Thanks :) Seth Willits --- President and Head Develope

Re: [PHP] Session Issue

2003-08-30 Thread Curt Zirzow
* Thus wrote Seth Willits ([EMAIL PROTECTED]): > I'm logging in via a form, and on the form page it creates the session: > >session_start(); > if ($_POST['username'] == $username && $_POST['password'] == > $password ) { > $_SESSION['loggedIn'] = true; > }

[PHP] Session Issue

2003-08-30 Thread Seth Willits
I'm logging in via a form, and on the form page it creates the session: session_start(); if ($_POST['username'] == $username && $_POST['password'] == $password ) { $_SESSION['loggedIn'] = true; } else $_SESSION['loggedIn'] = false; ?> And later in the same page, I include another file w