Set Cookies

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kkbbzzaa
    Member
    • Jul 2004
    • 38

    #1

    Set Cookies

    Hi,
    I'm having problems trying to set cookies, trying to solve the problem i made this simple test file.

    PHP Code:
    <?
        setcookie ("cookietest", "Testing Cookie", time()+3200);
    ?>


    This is all the code there is in the file. And it does it's job in Firefox but does not in IE. Any ideas?

    The file is located at: http://kaoz-tutorials.com/affiliates/test.php


    Thanks

    Mateo
    oxoia.com
  • Frank Hagan
    Senior Member
    • Mar 2004
    • 724

    #2
    Check to make sure you have the security settings so that IE will accept the cookie. In Tools*Internet Options click on the "Privacy" tab, then click on "Edit" under the "Web Sites - Override cookie handling" box at the bottom. Type in your URL (without the "www.") and click "Allow". Save out of the dialog boxes and then try it.

    Comment

    Working...