Re: share a session between two website



"CGI::Session stores the session identifer in a cookie. Are you sure
that the
second site is able to access that cookie? Are you checking errstr()
for
more info? "

I get this error msg when trying to call errstr

local our $session = new CGI::Session( "driver:File",
$session_id, {Directory=>"$session_dir"} );
local our $username =$session->param("username");
print "Content-Type: text/html\n\n";
print "$username username\n";
local our $error = CGI::Session::errstr;
print "$error\n";

but I think you 're rigth when you said this is not accessible outside
the web app context (url is different)

.



Relevant Pages