in reply to Re: PERL Cookies playing with JavaScript Cookies
in thread PERL Cookies playing with JavaScript Cookies

I'm not quite folllowing you about the path part because in the perl I do a CGI::Application->cookie() and I get all the cookie names that I want to change. Both Perl and JS. I can use the values from both too, I can't modify the JS ones though.
  • Comment on Re^2: PERL Cookies playing with JavaScript Cookies

Replies are listed 'Best First'.
Re^3: PERL Cookies playing with JavaScript Cookies
by izut (Chaplain) on Aug 04, 2005 at 23:48 UTC
    The default path for CGI.pm cookie is '/'. If your JS is creating the cookie in another path Perl probably will not read it. You can see the cookie's path in your browser (at least I can on Firefox).


    Igor S. Lopes - izut
    surrender to perl. your code, your rules.

      Thanks man, that is it. I don't know why it didn't come out and smack me in the face harder than what it did do.

      $brian->{'idiot_points'} += 5;