in reply to Problem with Cookies on Netscape but Ok in IE

Hi there,
A couple of notes:
Have you tried the "warn before accepting a cookie" option in Netscape - it's often useful when debugging cookie problems?
In the header() function in CGI.pm, you could use the function "cookies" rather than "cookie" - I'm 98 percent certain that one is just the same as the other, but it's a style note.
davis
  • Comment on Re: Problem with Cookies on Netscape but Ok in IE

Replies are listed 'Best First'.
Re: Re: Problem with Cookies on Netscape but Ok in IE
by Anonymous Monk on Jan 16, 2002 at 20:29 UTC
    This code is sample code it has nothing to do with what I am actually doing with cookies so don't worry about the password. And Yes I have been using the Netscape cookie notify when accepting cookies from the begining. I get the warning for everyone but me. The activestate Perl docs state for the domain:
    "2. domain This is a partial or complete domain name for which the cookie is vali +d. The browser will return the cookie to any host that matches the pa +rtial domain name. For example, if you specify a domain name of ``.ca +pricorn.com'', then Netscape will return the cookie to Web servers ru +nning on any of the machines ``www.capricorn.com'', ``ftp.capricorn.c +om'', ``feckless.capricorn.com'', etc. Domain names must contain at l +east two periods to prevent attempts to match on top level domains li +ke ``.edu''. If no domain is specified, then the browser will only re +turn the cookie to servers on the host the cookie originated from.
    So it looks liek I am following the spec, but I am going to eliminate both of these. I also will try the all CGI module version I think Netscape does not like the hybrid approach, little touchy you know! Thanks for the imput this has been driving me nutso!!!! Dennis