View Full Version : ASP.Net / Perl / CGI var session

07-21-2009, 04:26 PM
Hi! I need to access existing ASP.NET session variables in a perl script.

I tried using CGI but I dont know how use it correctly. Besides, the next code give me an error.

use CGI; # This line work fine
use CGI::Session; # This line cause the error

The error is:
'c:\inetpub\wwwroot\AutenticacionFD\FD_Perl\Scripts\interface.plx' script produced no output

I would really appreciate any help. Thanks in advance.

07-23-2009, 06:22 PM
Hi again... nobody with any idea???

07-23-2009, 07:32 PM
The most likely cause of a problem when loading the CGI::Session would be that the module isn't installed on your server.

Issue this command:
C:\>perl -MCGI::Session -e 1

If you receive an error message such as:

Can't locate CGI/Session.pm in @INC ...
Then you'll need to install the module.

I don't know ASP.net and have no idea how it stores its session variables, so I can't say how you'd retrieve them in the Perl script.