IE 6.0 don't likes my Cookies!!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Eisl Thomas

    IE 6.0 don't likes my Cookies!!

    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
  • Jochen Daum

    #2
    Re: IE 6.0 don't likes my Cookies!!

    Hi Thomas!

    On 10 Nov 2003 07:10:34 -0800, iclt@gmx.at (Eisl Thomas) wrote:
    [color=blue]
    >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
    >;)[/color]


    I think you need a P3P policy. Look it up on Google. Also a cookie
    fallback with url parameters might work. This is built into PHP, if
    you use sessions.

    HTH, Jochen[color=blue]
    >
    >Please help me!
    >Thanks!
    >
    >Eisl Thomas[/color]

    --
    Jochen Daum - CANS Ltd.
    PHP DB Edit Toolkit -- PHP scripts for building
    database editing interfaces.
    Download PHP DB Edit Toolkit for free. PHP DB Edit Toolkit is a set of PHP classes makes the generation of database edit interfaces easier and faster. The main class builds tabular and form views based on a data dictionary and takes over handling of insert/update/delete and user input.

    Comment

    Working...