Thanks. I think so, too. But why Cache::FastMmap deletes it? Where can set it?<br><br>I just use all config default.<br><br>use Catalyst qw/-Debug<br> ConfigLoader::MultiState<br> Static::Simple<br>
<br> StackTrace<br> Authentication<br><br> Session<br> Session::Store::FastMmap<br> Session::State::Cookie/;<br><br>Plugin-Authentication.conf:<br>
<br>$default_realm = 'default';<br>$realms = {<br> 'default' => {<br> 'credential' => {<br> 'class' => 'Password',<br> 'password_field' => 'password',<br>
'password_type' => 'hashed',<br> 'password_hash_type' => 'MD5',<br> },<br> 'store' => {<br> 'class' => 'DBI',<br>
'user_table' => 'qy_user',<br> 'user_key' => 'id',<br> 'user_name' => 'username',<br> 'user_password' => 'password',<br>
},<br> },<br>};<br><br>$use_session = 1;<br><br><br><br><div class="gmail_quote">On Sat, Apr 18, 2009 at 2:52 PM, Andrew Rodland <span dir="ltr"><<a href="mailto:arodland@comcast.net">arodland@comcast.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Saturday 18 April 2009 01:28:30 am Malloy wrote:<br>
> After restart apache, user must login again. I find $c->user_existsis not<br>
> true.<br>
><br>
> Why?<br>
<br>
</div>Because you're using Session::Store::FastMmap and the session cache file<br>
didn't exist before your app started, so Cache::FastMmap deletes it on exit?<br>
<br>
Andrew<br>
<br>
<br>
<br>
_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Jack Malloy<br>