Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Recommended modules for handling cookies?

by setantae (Scribe)
on Mar 29, 2000 at 02:21 UTC ( #6375=note: print w/ replies, xml ) Need Help??


in reply to Recommended modules for handling cookies?

Hmm, as far as I know you just enter the domain you want it to be valid for, presumably your subdomain.
With CGI.pm:

$cookie = $query->cookie(-name=>'name', -value=>'value', -expires=>'expcode', -path=>'partial_url', -domain=>'domain_name' -secure=>1); print $query->header(-cookie=>$cookie);
Perl In A Nutshell, page 338

setantae@eidosnet.co.uk|setantae|www.setantae.uklinux.net


Comment on Re: Recommended modules for handling cookies?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://6375]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2014-08-20 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (106 votes), past polls