<?php //ustaw sekundy do timeout'u $intTimeoutSeconds = XXX; { if(($_SESSION['intLastRefreshTime']+$intTimeoutSeconds)<time()) { } } ?>
ale nic nie robi gdy po czasie np 60 sec nie nie robi na stronie zmieniłem czas i oczywiscie $_SESSION
<?php //ustaw sekundy do timeout'u $intTimeoutSeconds = XXX; { if(($_SESSION['intLastRefreshTime']+$intTimeoutSeconds)<time()) { } } ?>