I still have some very strange behavior here:
sub cgiapp_init {[some code skipped]
$self->log->debug("Cookie received: " . $self->query->cookie($cookiename) ); CGI::Session->name($cookiename); $self->session_config( CGI_SESSION_OPTIONS => [ "driver:File", $self->query, {Directory => "/tmp"}], COOKIE_PARAMS => { -expires => '+24h', -path => '/', }, SEND_COOKIE => 1, ); $self->log->debug("sid: " . ($self->session->id() || ""));
$self->header_props( -expires => '-1d', -charset => "utf-8", ); $self->session_cookie();
}
In order to eliminate possible trouble with the database and CDBI I changed the code now to store the session data in files.
but every time I access the application I string printed next to "sid" is different from the one next to "Cookie received".
I am sure there is something obvious I am missing here or is this the normal behavior ?
Gabor
--------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
