I have registered a session in index.php and print it.
$_SESSION['login'] = 'ok'; //print 'ok'
then in page1.php got this session and change it.
<?$_SESSION['login'] = 'no';?>
setTimeout('window.location="index.php"', 100);
Now in index.php there is still print 'ok'. How can?