Code Comments
Programming Forum and web based access to our favorite programming groups.Hello,
I'm trying to pass a cookie value as a string. IE:
$cookie_string = "$params->{username}|$params->{password}|$time|$time";
$cookie =
$cgi->cookie(-name=>'cookie_name',-value="$cookie_string",-expires=>'+1y');
But this is the result I get:
test22%7C123456%7C1122932023%7C112293202
3
I'm trying to eliminate the '%7C' character so it has the pipe '|' character
instead. I've tried to do a JOIN:
join("\|",$params->{username},$params->{password},$time,$time);
same results. Tried to use the unescape($cookie_string), again the same resu
lts.
Is there a way to pass the cookie string and retain the pipe character '|'
without it being changed to the '%7C' character.
TIA,
--
Mike(mickalo)Blezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.