Session on Windows 2000 Please Help me !!
| From: | Danilo Meles | Date: | Fri, 18 Aug 2000 07:17:42 +0000 |
| Subject: | Session on Windows 2000 Please Help me !! | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-1970@lists.php.net to get a copy of this message | ||
Hi Folk's;
I've used session to protect my website like this:
if ($Num !== 0){
session_start();
session_name("Login");
$sessao = "$login";
session_register("sessao");
}
else{
header("Location: proibido.php");
}
?>
and when the user leaves the site he click on disconect and it process the
folowing code:
<?
session_start("Login");
session_destroy("sessao");
header ("Location:default.htm")
?>
But the session_destroy only works, if the pages are in Linux , but I'm on
Windows 2000 and Using IIS.
Any idea , on how to fix this problem???
Thank you all
Danilo Meles