Thanks. I think so, too. But why Cache::FastMmap deletes it?  Where can set
it?

I just use all config default.

use Catalyst qw/-Debug
                ConfigLoader::MultiState
                Static::Simple

                StackTrace
                Authentication

                Session
                Session::Store::FastMmap
                Session::State::Cookie/;

Plugin-Authentication.conf:

$default_realm = 'default';
$realms = {
    'default' => {
        'credential' => {
          'class'               => 'Password',
          'password_field'      => 'password',
          'password_type'       => 'hashed',
          'password_hash_type'  => 'MD5',
        },
        'store' => {
          'class'              => 'DBI',
          'user_table'         => 'qy_user',
          'user_key'           => 'id',
          'user_name'          => 'username',
          'user_password'      => 'password',
        },
    },
};

$use_session = 1;



On Sat, Apr 18, 2009 at 2:52 PM, Andrew Rodland <[email protected]>wrote:

> On Saturday 18 April 2009 01:28:30 am Malloy wrote:
> > After restart apache, user must login again. I find $c->user_existsis not
> > true.
> >
> > Why?
>
> Because you're using Session::Store::FastMmap and the session cache file
> didn't exist before your app started, so Cache::FastMmap deletes it on
> exit?
>
> Andrew
>
>
>
> _______________________________________________
> List: [email protected]
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
>



-- 
Jack Malloy
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to