Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 lurking in the Monastery: (8)
As of 2014-12-20 04:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls