>
>Anadi, are the Perl scripts and the ASPs on the same server (webhost,
>not machine!)? In the same directory?
>Maybe you have to specify the domain when creating the cookie.
>
>Jenda
Hello Jenda, Both the perl scripts and the asp's are run on the same server
BUT the asp's are run from a different folder from the perlscripts.
I have just specified the domain in my cookie:
$usrID = createUsrID();
## create cookie
my $cookie = new CGI::Cookie(-name=>'usrID',
-value=>$usrID,
-expires=>'+2h',
-domain=>'.mydomain.com',
-path=>'/');
## send cookie
print "Set-Cookie: $cookie\n";
And I can now read this cookie with my asp script :-)
usrID = Request.cookies("usrID")
Thank you for your help :-)
Anadi