[rochester-pm-list] Cookies with perl...
Brian Mathis
bmathis at directedge.com
Wed Dec 29 15:44:09 CST 1999
On Wed, 29 Dec 1999, Fred Edmister wrote:
> I'm trying to write a cookie to hold the information for my previous
> problem I was talking about with the variable not being passed... Every
> reference I find for cookies all refer to writing back to an HTML file...
> Suppose the following.. I make a cookie like this...
>
> use CGI qw/:standard/;
> use CGI::Cookie;
>
> # Create new cookies and send them
> $cookie = new CGI::Cookie(-name=>'siteinfo',
> -value=>{storeid}
>
> Will this work for then pulling the info back into the final form and then
> passed to the perl script? The variable would then be cookie.storeid
> correct? :) Thanks to all for any assistance you may have!!
>
> Fred
Did you *try* it?
--
Brian Mathis
Direct Edge
http://www.directedge.com
More information about the Rochester-pm
mailing list