zdog has asked for the wisdom of the Perl Monks concerning the following question:
First of all, should the following set a cookie correctly:
If so, what goes in the 'partial_url' part of it, if not, what should I do?$cookie = $query->cookie(-name=>'name', -value=>'value', -expires=>'expcode', -path=>'partial_url', -domain=>'.domain.com' -secure=>1); print $query->header(-cookie=>$cookie);
Next, how would I retrieve the cookie value above?
Finally, is there a way I could test if the script for setting cookies works? Let's say I upload the script and I go to the script, should it put a cookie in my system (Win98)? If so, where do I look for it?(Temporary internet files) If not, why doesn't it do so? Shouldn't it?
Thanks.
Zenon Zabinski | zdog | zdog7@hotmail.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(chromatic) Re: Completely Cookies
by chromatic (Archbishop) on Jul 15, 2000 at 07:52 UTC | |
|
(jcwren) Re: Completely Cookies
by jcwren (Prior) on Jul 15, 2000 at 08:14 UTC | |
|
Re: Completely Cookies
by jjhorner (Hermit) on Jul 16, 2000 at 21:05 UTC |