[Catalyst] IE Cookie problems
Marc Logghe
Marc.Logghe at DEVGEN.com
Tue Dec 19 08:35:49 GMT 2006
________________________________
From: vb [mailto:vlad.bazon at gmail.com]
Sent: Tuesday, December 19, 2006 6:40 AM
To: The elegant MVC web framework
Subject: Re: [Catalyst] IE Cookie problems
>> I have them same problem.
resolved, by adding in the Myapp::end() sub, the line:
$c->res->headers->header('Cache-Control' => 'no-cache,
max-age=0');
In MyApp.pm:
use Catalyst qw/ Session Session::Store::FastMmap
Session::State::Cookie
Authentication Authentication::Store::DBIC
Authentication::Credential::Password
Authorization::Roles /;
--vb
I am struggling with session cookies as well.
In IE and Opera, when a user logs out she can not login anymore,
except when de cookies are manually deleted. Only in firefox it is not a
problem at all. It seems that when logging out, the cookie is expired
automatically at the end of the session. But only in FireFox :-(
In the yml config:
# configuration of the session
session:
# session expires after 1 h
expires: 3600
cookie_expires: 0
storage: session
Loaded modules:
Session
Session::Store::FastMmap
Session::State::Cookie
Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20061219/fd2f1281/attachment.htm
More information about the Catalyst
mailing list