In message <[EMAIL PROTECTED]>, Website Managers <[EMAIL PROTECTED]> writes >You have most likely seen membership sites that redirect you to the >login screen when you are inactive for a certain time period. The >session times out and automatically loads the login page. I've searched >all the session variables and even Google & Yahoo for it. > >The closest I came to it was the session_cache_expire setting, but I >don't know how to see if the value is zero. Does anyone know how to do >that other than creating another timer? > >Thanks > >Jim
Usually, you are redirected after being inactive *when you try to change page*. When changing page, if the session has closed (by itself), then you are redirected. You seem to be implying that your visitors should be redirected, even if the page does not change. I have never seen this. But if that is what you want, could you have a redirect at the top of the page? Like <meta http-equiv="refresh" content="0;url=login.php"> where the content="0; is set to something very high? No idea if that would work... <G> -- Pete Clark http://www.hotcosta.com http://www.spanishholidaybookings.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/HKFolB/TM --------------------------------------------------------------------~-> Community email addresses: Post message: php-list@yahoogroups.com Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/