However, every attempt to access this application with ?_SESSION_ID=some_session_id in my argument list, seems to result in the creation of a new session object, a new cgisess_some_new_session_id file being created in my /tmp directory.if(!defined($self->{'q'}->param("_SESSION_ID"))){ $self->{'s'} = CGI::Session->new(undef, $self->{'q'}, { Directory => $self->{'cfg'}->param("paths.sessions") } ) +; } else { $self->{'s'} = CGI::Session->new( $self->{'q'}->param("_SESSION_ID +") ); }
I would appreciate any clues about what it is I am mising here about how this CGI::Session module is supposed to work
-- Hugh
UPDATE:
This works:
if(!defined($self->{'q'}->param("_SESSION_ID"))){ $self->{'s'} = CGI::Session->new(undef, $self->{'q'}, { Directory => $self->{'cfg'}->param("paths.sessions") } ) +; } else { - $self->{'s'} = CGI::Session->new( $self->{'q'}->param("_SESSION_I +D") ); + $self->{'s'} = CGI::Session->new(undef, + $self->{'q'}->param("_SESSION_ID"), + { Directory => $self->{'cfg'}->param("paths.sessions") } +); }
In reply to CGI::Session fails to find existing sessions by hesco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |