Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://6375]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-09-21 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (251 votes). Check out past polls.

    Notices?