You probably should check out the documentation for CGI.pm cookie handling. I'd also recommend reading through my CGI course (link at bottom).
use CGI qw(:standard); # reading a cookie my $cookie_value = cookie( $cookie_name ); # creating a cookie my $cookie = cookie( -name => $cookie_name, -value=> $some_value ); # And setting the cookie (while printing the header) print header( -cookie => $cookie );
The above is a simple example of how to do this. Read the docs for more information about how it works.
Cheers,
Ovid
New address of my CGI Course.
Silence is Evil (feel free to copy and distribute widely - note copyright text)
In reply to Re: Cookies Help
by Ovid
in thread Cookies Help
by ACJavascript
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |