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%7C1122932023
I'
Christian Klinger wrote:
Hello List
i'm a perl newbie
does anyone know why this scritp dont set the cookie?
-
#!/usr/bin/perl
use strict;
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use Net::LDAP;
use CGI::Cookie;
use MIME::Base64;
my $cgi = new CGI;
my $uid = "cklinger";
my $pw
/Cookie.pm
Why is it there? Could you please share?
Thanks
Aman Raheja
AGF Technologies
http://www.agftech.com
- Original Message -
From: "Christian Klinger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 05, 2003 10:09 AM
Subject: Cookie - pro
Hello List
i'm a perl newbie
does anyone know why this scritp dont set the cookie?
-
#!/usr/bin/perl
use strict;
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use Net::LDAP;
use CGI::Cookie;
use MIME::Base64;
my $cgi = new CGI;
my $uid = "cklinger";
my $pw = "klinger";
my $ldaut
Greetings every body,
I have am working on a web based application which requires authenticaion.
I am using some especial cookies to reference the session values which are
maintained sepeartely. The the cookie values are set to some expriey time.
This works fine, therotical as well as practicall