note 31936 added to function.session-name

From: Date: Fri, 09 May 2003 12:33:43 +0000
Subject: note 31936 added to function.session-name
Groups: php.notes 
Request: Send a blank email to php-notes+get-47736@lists.php.net to get a copy of this message
HI I am a newbie to php and I like the language. I have written a number of small applications, but seesions and php is apparently a mystery to me. What I want is a login that sets a session if a login is correct and then check on everypage is the user is valid and if not then redirect to the loginpage with an error message. I just can't the session stuff correct I guess, could some kind soul give an example that uses mysqldatabase and tells me like I'm a 5 year old how to handle this? -- http://www.php.net/manual/en/function.session-name.php http://master.php.net/manage/user-notes.php?action=edit+31936 http://master.php.net/manage/user-notes.php?action=delete+31936 http://master.php.net/manage/user-notes.php?action=reject+31936

« previous php.notes (#47736) next »