The Script:
<?
if( isset($_POST['usr']) )
{
setcookie("usr" , $_POST['usr'], 0,'' ,'' , "0");
$_COOKIE['usr'] = $_POST['usr']; // I just use this, because i need
the Variable on the same site for a included login-function
}
?>
<html>
..
..
..
It works really fine on Mozilla, but IE can't remember the Cookie
until the next Site. The function setcookie returns 1 - I'm
helpless...
It also works if i set the security-option 1 step lower then "medium",
but I don't like it this way, because i can't tell everybody to do so
;)
Please help me!
Thanks!
Eisl Thomas
<?
if( isset($_POST['usr']) )
{
setcookie("usr" , $_POST['usr'], 0,'' ,'' , "0");
$_COOKIE['usr'] = $_POST['usr']; // I just use this, because i need
the Variable on the same site for a included login-function
}
?>
<html>
..
..
..
It works really fine on Mozilla, but IE can't remember the Cookie
until the next Site. The function setcookie returns 1 - I'm
helpless...
It also works if i set the security-option 1 step lower then "medium",
but I don't like it this way, because i can't tell everybody to do so
;)
Please help me!
Thanks!
Eisl Thomas
Comment