Can't create cookie with cgi.pm 
Author Message
 Can't create cookie with cgi.pm

I write a cookie out like this...

$oatmeal=$q->cookie(-name=>'family',
                    -value=>\'test',
                    -expires=>'+1d',
                    -domain=>'.mydomain.org');

print $q->header(-title=>'My Title',
                 -cookie=>$oatmeal);

But can't seem to fine it. I try reading it in from another script as...
$answer = $q->cookie('family');

but $answer is null?

Any Ideas?

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Tue, 27 May 2003 10:17:48 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. creating cookie with CGI.pm

2. CGI.pm creates hidden field '.cgifields'

3. Can't retrieve Cookie with cgi.pm

4. Can't retrieve cookie using cgi.pm

5. CGI::Cookie won't set cookies with no path

6. I can't create cookie.

7. Weirdness with CGI.pm cookies

8. CGI.pm 2.36 -- passing a cookie to a 2nd form

9. Cookies with CGI.PM

10. CGI.pm: How to redirect and set cookie ?

11. Cookies using the Perl CGI.pm module(s)

12. inserting a cookie into CGI.pm (bizarre question)

 

 
Powered by phpBB® Forum Software