Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

mod_perl2: handle session without CGI::Session

mome

2008-05-26

Replies: Find Java Web Hosting

Author LoginPost Reply

Hi,

I am trying to get a posted data with Apache2::Request, still no luck but
found something interesting.


What I found is once my handler specified byPerlAuthenHandler calling
CGI::Session(), the posted data retrieved in final destination is lost.

Here is part of my handler
sub authen_handler_new{
my $self = shift;
my $r = shift;
$r->warn("Begin new handler");
my $req = Apache2::Request->new($r);
my $tmpCode = $req->param("code");
my $session = new CGI::Session() or die CGI::Session->errstr; # this line
cause posted data is lost in final destination
.....

FYI:
Here is my environment setup
OS: Linux Fedora core 6
Apache Server 2.2.6
mod_perl2.0.2
perl 5.5.8
CGI.pm version 3.15

I am not sure if it is because the bug or something else


I need the session handling and want to know   the alternative way to
handle session without CGI::Session.

Please suggest.

Thanks

PA




--
Sent from the mod_perl - General mailing list archive at Nabble.com.

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.