Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: saving datas on client-side cookie file.

by Michalis (Pilgrim)
on Jun 14, 2000 at 15:25 UTC ( [id://18071]=note: print w/replies, xml ) Need Help??


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

Sure, with the use of CGI.pm, get some code as an example:
my $input_cookie=cookie(-name=>'cookie_name', -value=>param('input_name'), -path=>'/', -domain=>'your.domain.com', ); $q=new CGI; print $q->header(-cookie=>$input_cookie);
Where input_name (used in param) is the name of the form element which contains the data you want to send to the client. The next page, will have the cookie with the name cookie_name available.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://18071]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-24 18:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found