in reply to CGI Cookies...

Ahh, I found it...

cookie (-name => "session_id", -value => $sess_ref->session_id(), #-path => url (-absolute => 1), completely Removed this -domain => ".domain.com", -expires => "+1y" );


Before I had just kept modifying the -path, this time I removed the whole line, and it worked.

thx,
Richard

Replies are listed 'Best First'.
Re: Re: CGI Cookies...
by cfreak (Chaplain) on Mar 14, 2003 at 14:36 UTC

    Set your path to '/', I say this because i've often had probs with Netscape 4 not setting the cookie if there wasn't a path at all.

    I've also had problems with the evil browser from redmond refusing to set cookies when I don't specify the entire domain. (i.e. leaving off the www) I get around this by setting domain to $ENV{HTTP_HOST}

    Hope that helps
    Chris

    Lobster Aliens Are attacking the world!