sulfericacid has asked for the wisdom of the Perl Monks concerning the following question:
Test print of cookie -- Cookie: sessionID=test%3A%3Atest%3Ad41d8cd98f00b204e9800998ecf8427e; p +ath=/; expires=Thu, 07-Aug-2003 22:20:06 GMT
My cookie code (which finally works)-- $cookie = cookie(-name => 'sessionID', -value => makeCookieValue($userpass), -expires => '+1h' );
After the user is logged in, I want to be able to take the cookie valye into a scalar so I can split and use the $user and $pass (After they sign in, the page needs to be personalized with their username displayed somewhere, just like on top of this page it says 'log sulfericacid out'.I've tried this suggestion which someone gave to me-- my $cookievalue = getFirstOrValue(cookie()); print "New cookie stuff: $cookievalue";
Thanks for your help everyone.
"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"
sulfericacid
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Extracting the cookie value
by Mr. Muskrat (Canon) on Aug 07, 2003 at 21:38 UTC | |
|
Re: Extracting the cookie value
by MrCromeDome (Deacon) on Aug 07, 2003 at 21:56 UTC | |
by BUU (Prior) on Aug 08, 2003 at 02:22 UTC | |
by MrCromeDome (Deacon) on Aug 08, 2003 at 02:25 UTC |