Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
PHP Session Timeout
Name: jamida Date: January 23, 2009 at 16:43:42 Pacific OS: web browser CPU/Ram: doesn't matter Product: Doesn't matter / Doesn't matter Subcategory: PHP
Comment:
I'm looking for a way to enforce a PHP session timeout after X minutes regardless of user activity. The problem is that all the PHP session timeout examples I've seen only take effect *on the next action* the user takes after the session timeout interval.
I found this "hack" that forces the browser to automatically refresh the page even if no human is around:
Summary: I just read this. Is this what causes the warnings? "Before you can begin storing user information in your PHP session, you must first start the session. When you start a session, it must be at the v...
Summary: Hello! We have made a site with loggin using $_SESSION for setting session variables. This works perfectly in the Windows environment (WinXP-Apache-PHP-MySQL). We now try to transfer the system to Lin...
Summary: When i open the page i get the next message Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/numat/domains/numata.co...