hello, i would like to setup a system that authenticates and authorizes access for a specified period of time after which they are kicked out. for starters i am depending on php session handling writing data to a mysql database. Would appreciate any suggestions and help.
This is what your looking for ? session_start(); // timeout period in seconds $inactive = 600; // check $_SESSION['timeout'] is set if(isset($_SESSION['timeout']) ) { $session_life = time() - $_SESSION['timeout']; if($session_life > $inactive) { session_destroy(); header("Location: logoutpage.php"); } } $_SESSION['timeout'] = time(); Code (markup):
1) During installation of ArticleMS, there is a warning msg at top of mysite page as follows:- “Warning: set_time_limit() has been disabled for security reasons in /home/a6620434/public_html/install/index.php on line 2†2) And After successful install, there is warning msg on my website as follows:- “2008-11-08 05:08:35 (PST) / 2 Warning exec() has been disabled for security reasons /home/a6620434/public_html/core.php 439†Can anybody help resolve those problem? http://nichearticles.50gigs.net