#1
  1. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Location
    Hong Kong
    Posts
    71
    Rep Power
    15
    I want to read/write a Cookies with PHP. It is work in IE, but it doesn't work in NETSCAPE. Why? How to solve it? Thanks.


    The script is:

    **Read a Cookies:**
    if ($HTTP_COOKIE_VARS["TestCookie"]==1)
    echo "OK";

    **Write a Cookies:**
    setcookie("TestCookie","1",time()+86400);
  2. #2
  3. No Profile Picture
    Robert_J_Sherman
    Guest
    Devshed Newbie (0 - 499 posts)
    Okay, here's what I know with Cookies and IE/NN.

    What I would suggest is adding the "path" and "domain" variables... that should allow it to work.

    The funny thing is that I've seen the problem you are having before with Perl..

    And IE was the one that was dorked up, due to the "date". Yet NN was issuing the date as expected...

    ------------------
    SnR Graphics,
    Low Cost Hosting and Web Development.

Similar Threads

  1. set up mail server in win xp
    By SystemOfADown in forum Mail Server Help
    Replies: 2
    Last Post: May 6th, 2004, 09:28 AM
  2. Replies: 4
    Last Post: February 22nd, 2004, 05:09 PM
  3. Netscape E-mail
    By mssusanb in forum Mail Server Help
    Replies: 0
    Last Post: February 12th, 2004, 02:38 PM
  4. include external page that uses cookies
    By micahbdavis in forum PHP Development
    Replies: 1
    Last Post: February 9th, 2004, 04:03 PM
  5. absolute positioning - 9px off in netscape..!?
    By stinkoman in forum HTML Programming
    Replies: 4
    Last Post: December 22nd, 2003, 12:09 PM

IMN logo majestic logo threadwatch logo seochat tools logo