note 31936 deleted from function.session-name by joey

From: Date: Fri, 09 May 2003 13:08:44 +0000
Subject: note 31936 deleted from function.session-name by joey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-47739@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?

« previous php.notes (#47739) next »