Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: saving datas on client-side cookie file.

by wonko (Pilgrim)
on Jun 15, 2000 at 10:59 UTC ( [id://18254] : note . print w/replies, xml ) Need Help??


in reply to saving datas on client-side cookie file.

You can read more about cookies at the cgi.pm site.

The full parameter list (from the cgi.pm site:)

$cookie = $query->cookie(-name=>'sessionID', -value=>'xyzzy', -expires=>'+1h', -path=>'/cgi-bin/database', -domain=>'.capricorn.org', -secure=>1); print $query->header(-cookie=>$cookie);
To retrieve the cookie in a cgi script and put the value in $cookie_data: $cookie_data=$query->cookie(-name=>'whatever');

/wonko