
Jasmine
Administrator
/ Moderator
Apr 10, 2000, 7:20 PM
Views: 2505
|
To be able to manipulate the cookies, you first need to retrieve them, which is the <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> %cookies = fetch CGI::Cookie; foreach (keys %cookies) { do_something($cookies{$_}); } </pre><HR></BLOCKQUOTE> portion of the code that was posted. All of the cookies will be in a hash named %cookie. From there, you can do whatever you need. If you need to change the cookie's value, update the %cookies hash, then reset the cookies.
|