Thread: cookie

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

    Join Date
    May 2000
    Posts
    49
    Rep Power
    15
    i'm experiencing one problem regarding setting the cookie. may i know why the cookie that i set in IE can't appear in Netscape? what i mean the page that i view using netscape are without cookie while in IE display the cookie page?
  2. #2
  3. No Profile Picture
    Robert_J_Sherman
    Guest
    Devshed Newbie (0 - 499 posts)
    Cookies are a little funky when it comes to IE and NN.

    You'll have to play with em' a bit, in order to get them both to work.

    it's best to set ALL formats, and to be honest, in most cases it has to do with either your "date" or "path" variable(s).

    In a lot of cases I've had trouble trying to set a path "other than" "/".

    You might check that first.

    as for the date, it's best to us a "time() + whatever seconds"..

    and for domain, always remember that it's best to start it with ".yourdomain.com" instead of a full full domain.

    I've exprienced problems when setting a cookie for a "sub-domain"..

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

Similar Threads

  1. Placing user-entered data into cookie
    By Tyrone in forum Perl Programming
    Replies: 2
    Last Post: February 17th, 2004, 04:31 PM
  2. ASPSESSIONID cookie seems to kill JavaScript cookie
    By cdarling in forum JavaScript Development
    Replies: 1
    Last Post: July 25th, 2003, 12:25 PM
  3. javascript - cookie based redirect... not working?
    By drgroove in forum JavaScript Development
    Replies: 4
    Last Post: July 4th, 2003, 01:55 AM
  4. can't get cookie from different directory
    By manjoufna in forum Perl Programming
    Replies: 2
    Last Post: April 9th, 2003, 04:11 PM
  5. Per session cookie expiration
    By csaba in forum PHP Development
    Replies: 4
    Last Post: June 21st, 2002, 09:54 PM

IMN logo majestic logo threadwatch logo seochat tools logo