Thanks to John Holmes & Timothy Hitchens for your help after looking at what both of you said .. i found i had handled the sessions correctly but not the sql statement in my script and it was the sql out put that was causing nothing to be registered in my sessions.
Cheers Peter > -----Original Message----- > From: John W. Holmes [mailto:[EMAIL PROTECTED]] > Sent: Monday, 14 October 2002 12:50 PM > To: 'Peter Houchin'; 'php_gen' > Subject: RE: [PHP] sesson tutorials > > > > howdy > > > > does any one know where i can view an uptodate session tutorial? so > far I > > have not found any that are up todate. > > Sessions are a breeze. Just call session_start() on any page you need to > access the session. You then have a variable called $_SESSION, which is > an array. You can use it as any other array. To save the value "John" to > the session as a "Name", you'd use > > $_SESSION['name'] = 'John'; > > Now, any page you have session_start() on will have the variable > $_SESSION['name'] available to it. > > That's the whole tutorial Use $_SESSION as you would any other variable > and it'll be available to any page that has session_start on it. > > ---John Holmes... > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php