RE: [PHP] Ack! Cookie Problems!

2001-03-22 Thread Jeff Armstrong
== '/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

[PHP] Ack! Cookie Problems!

2001-03-21 Thread Michael Champagne
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