The doc's for CGI::Application::Plugin::Session state
NOTE: If you change the name of the cookie by passing a -name
parameter, remember to notify CGI::Session of the change by calling
CGI::Session->name('new_cookie_name').
At what point is this call made? In the Session options? Before the
session_config or after?
In my Base package I have the following init.
sub cgiapp_init {
my $self = shift;
$self->session_config(
CGI_SESSION_OPTIONS => [ "driver:mysql", $self->query, { DataSource
=> $ENV{DB_DSN}, User => $ENV{DB_USER},
Password
=> $ENV{DB_PWD}
} ],
COOKIE_PARAMS => { -name => 'MYCOOKIENAME',
-expires => "+1y",
-path => '/', },
SEND_COOKIE => 1,
);
}
Thanks
Ed Pigg
---------------------------------------------------------------------
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]