session_start() part III

From: Date: Mon, 13 Aug 2001 15:39:47 +0000
Subject: session_start() part III
Groups: php.general 
Request: Send a blank email to php-general+get-62451@lists.php.net to get a copy of this message
I guess Renze, I have to use session_start() in the file where I want to output data from the session All this questions about session are generated because I want to control the acces to some of the web pages in a site so only accesible to registered visitors. Ok name user and password are stored in a db (mysql), after password verification sesion is started, temporal storage of some values (PHPSESSID i.e.) and I guess in the begining of every restricted page this temporal info shoul be checked to make the page visible or not but if the visitor closes the browser the sesion is over, session_destroy is this necessary? thanks remind me to invite you to have a beer next time you come to barcelona

« previous php.general (#62451) next »