________________________________

        From: vb [mailto:[EMAIL PROTECTED] 
        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
         

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to