RE: [PHP] securing php pages

From: Date: Fri, 20 Nov 2009 16:00:40 +0000
Subject: RE: [PHP] securing php pages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-299967@lists.php.net to get a copy of this message
You can use either cookies of sessions to maintain security: Some pseudo code: Login page: Login successful? If yes, set session value "LOGIN" = "YES" Then on all other pages, 1st check session value "LOGIN"....if != "YES" then bump them to the login page. Make sense? -----Original Message----- From: nitin reddy [mailto:chintu.nitin@gmail.com] Sent: Friday, November 20, 2009 10:57 AM To: php-general@lists.php.net Subject: [PHP] securing php pages Hi I am a new user of PHP..in my project i have put login forms and i am able to login successful but the pages after the login can be accessed directly by typing the address so if any one can help in this matter. Thank you, -- Nitin

« previous php.general (#299967) next »