in reply to Re: Problem with Cookies on Netscape but Ok in IE
in thread Problem with Cookies on Netscape but Ok in IE

I tried without the .domain.com and it still does not work. the code for these to programs can be run:
http://jplan.com/cgi-bin/ctb/setCookie.pl http://jplan.com/cgi-bin/ctb/getCookie.pl

Replies are listed 'Best First'.
Re: Re: Re: Problem with Cookies on Netscape but Ok in IE
by belg4mit (Prior) on Jan 16, 2002 at 08:16 UTC
    Well that setCookie is still setting the domain with a preceding . You are also limiting access to the cookie to only setCookie by the path you are using.
    HTTP/1.1 200 OK Date: Wed, 16 Jan 2002 03:09:40 GMT Server: Apache/1.3.19 (Unix) FrontPage/4.0.4.3 Set-Cookie: user=dummy; domain=.jplan.com; path=/cgi-bin/ctb/setCookie +.pl Set-Cookie: password=hispassword; domain=.jplan.com; path=/cgi-bin/ctb +/setCookie.pl Connection: close Content-Type: text/html

    --
    perl -pe "s/\b;([st])/'\1/mg"

Re: Re: Re: Problem with Cookies on Netscape but Ok in IE
by Anonymous Monk on Jan 16, 2002 at 07:48 UTC
    I wrote a client side program to write the cookie, and it succeeds, and my cgi get cookie works so the setCookie cgi program is still the problem. ummmm..........