perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: Problem with GetSession (was: Syntax=perl problem)
Date Wed, 08 Jun 2005 03:24:04 GMT
> 
> I would like to call a CGI script, and have %udat be 
> available to it. I thought the way to do that was:
> 
> Embperl::Req::SetupSession($req_rec);
> Execute({subreq => '/cgi-perl/env_test.pl?param1=...&param2=...'});
> 

Since you are already using Embperl, you don't need to call SetupSession


> and then in thescript.pl I would put:
> 
> %udat = Embperl::Req::GetSession($req_rec);
> 

This does not take the Apache Request Record and it returns a reference to
%udat, so jus call it as

$udat = Embperl::Req::GetSession();

This should work.

Gerald



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message