in reply to Cookie Code
See perldoc CGI for complete information on how to use this.#!/usr/bin/perl -wT use strict; use CGI; my $query = CGI->new; my $cookie = $query->cookie(-name =>'sessionID', -value =>'xyzzy', -expires =>'+1h', -path =>'/cgi-bin/database', -domain =>'.capricorn.org', -secure =>1); print $query->header(-cookie=>$cookie);
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (Ovid - use CGI.pm) Re: Cookie Code
by orkysoft (Friar) on Apr 27, 2001 at 04:12 UTC | |
by tilly (Archbishop) on Apr 27, 2001 at 15:59 UTC |