3 Einträge, 1 Seite |
QuoteError executing run mode 'mode2': Don't know where to store the id at C:/Perl/site/lib/CGI/Session.pm line 297
(in cleanup) Can't connect( HASH(0x1b570ac)), no database driver specified and DBI_DSN env var not set at C:/Perl/site/lib/CGI/Session/MySQL.pm line 131
at C:/Perl/site/lib/CGI/Application.pm line 161
CGI::Application::run('T2=HASH(0x225428)') called at cgiapp_t3_session.cgi line 146
1
2
3
4
5
6
7
8
9
$self->session_config(
CGI_SESSION_OPTIONS => [
"driver:MySQL;id:Incr;",
$self->query(),
{
Handle => $self->param('mydbh')
}
],
);
1
2
3
4
5
6
7
8
9
10
# Configure the session
$self->session_config(
CGI_SESSION_OPTIONS => [ "driver:File", $self->query, {Directory=>$Bin} ],
DEFAULT_EXPIRY => '+1w',
COOKIE_PARAMS => {
-expires => '+24h',
-path => '/',
},
SEND_COOKIE => 1,
);
1
2
3
4
5
6
7
$self->session_config(
CGI_SESSION_OPTIONS => [
"driver:MySQL;id:Incr",
$self->query(),
{ Handle => $self->param('mydbh') }
],
);
3 Einträge, 1 Seite |