in reply to Re^2: Testing for existence of cookies
in thread Testing for existence of cookies
if (defined($cgi->cookie('admin'))) { # cookie exists # do something } else { # no cookie # so do something else }
This is untested, but you get the point....
See here for a quick example script and some explanation.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Testing for existence of cookies
by bigjoe11a (Novice) on Jun 26, 2005 at 16:26 UTC | |
by larryp (Deacon) on Jun 26, 2005 at 18:30 UTC | |
by bigjoe11a (Novice) on Jun 26, 2005 at 21:26 UTC | |
by bmann (Priest) on Jun 26, 2005 at 22:14 UTC | |
by bigjoe11a (Novice) on Jun 27, 2005 at 00:27 UTC | |
| |
|
Re^4: Testing for existence of cookies
by bigjoe11a (Novice) on Jun 26, 2005 at 14:57 UTC |