sessions
| From: | Martin A. Marques | Date: | Sat, 24 Jun 2000 13:50:35 +0000 |
| Subject: | sessions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-2902@lists.php.net to get a copy of this message | ||
I want to know how transparent sessions are?
I got this script:
<?
if(!isset($PHP_AUTH_USER)) {
Header("WWW-Authenticate: Carga basic=\"Carga de datos\"");
Header("HTTP/1.0 401 Unauthorized");
echo "Text to send if user hits Cancel button\n";
exit;
} else {
echo "Hola $PHP_AUTH_USER.<P>";
echo "Tu contrase~na es $PHP_AUTH_PW .<P>";
}
?>
and I wanna know if the session would start automagaclly, if it would save
the users name and the password through all the session, and when would the
session be closed?
I would like it to clse after 1h of inactivity or when the person on the
other side closes the browser.
And to finish it, I would like to know where the user name and password are
kept.
thanks!!!!
--
"And I'm happy, because you make me feel good, about me." - Melvin Udall
-----------------------------------------------------------------
Martín Marqués email: martin@math.unl.edu.ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------