everything is workin except window.location
.can any one suggest reason for it. thank you in anticipation
<?php
session_start();
$_SESSION["visiting"]=$_GET['userid'];
echo $_SESSION["visiting"]." ".$_GET['userid'];
?>
<script type="text/javscript">
window.location="http://localhost/fi.php";
</script>