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 = &#39;default&#39;;<br>$realms = {<br>    &#39;default&#39; =&gt; {<br>        &#39;credential&#39; =&gt; {<br>          &#39;class&#39;               =&gt; &#39;Password&#39;,<br>          &#39;password_field&#39;      =&gt; &#39;password&#39;,<br>
          &#39;password_type&#39;       =&gt; &#39;hashed&#39;,<br>          &#39;password_hash_type&#39;  =&gt; &#39;MD5&#39;,<br>        },<br>        &#39;store&#39; =&gt; {<br>          &#39;class&#39;              =&gt; &#39;DBI&#39;,<br>
          &#39;user_table&#39;         =&gt; &#39;qy_user&#39;,<br>          &#39;user_key&#39;           =&gt; &#39;id&#39;,<br>          &#39;user_name&#39;          =&gt; &#39;username&#39;,<br>          &#39;user_password&#39;      =&gt; &#39;password&#39;,<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">&lt;<a href="mailto:arodland@comcast.net">arodland@comcast.net</a>&gt;</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>
&gt; After restart apache, user must login again. I find $c-&gt;user_existsis not<br>
&gt; true.<br>
&gt;<br>
&gt; Why?<br>
<br>
</div>Because you&#39;re using Session::Store::FastMmap and the session cache file<br>
didn&#39;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>