== '/login') {
if (login_ok()) {
$sesh[start] = time();
}
} elseif ( time()-$sesh[start] > 60 ) {
headers("Location: /login");
exit;
}
-Original Message-
From: Michael Champagne [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 1:25 AM
To: PHP Genera
Ok, I'm going through a cookie nightmare. I'm trying to create a session and
then cut the user off from the session by setting the expiration of the cookie
that I send out using session_set_cookie_params(). Here's my code:
/* Start session and unset any previous session variables */
session_sta
2 matches
Mail list logo