Please i want you guys to help me with session. I want member session to expire if a member is idle for 10 minutes, but if not idle session should continue. This my ses from logme.php code: $user=$_GET['user']; $_SESSION['ses']=$user $timeout=time()+7200; $_SESSION['sesexpire']=$timeout; then my home.php $user=$_SESSION['ses']; if(!isset($user)) { echo "you are not login or you idle for 10minutes before. Pls relogin"; } else if(isset($user)){ /* i want my idle time to be 10m and member ses to automatically expire if the user idle for 10ms but if the member is not idle, he/she session should not expire. But i dont know how to do this, i want you people to help me out. Thanks */ } else{ my site code here }
have connected with http://adexchat.com ? Fun up with http://forum.adexchat.com