<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 4, 2015 at 12:08 PM, Bob Arning <span dir="ltr"><<a href="mailto:arning315@comcast.net" target="_blank">arning315@comcast.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<font face="Georgia">Yes, it is per cache. What you may be
overlooking is this: the cache will be reaped every 10 (whatever)
accesses or stores</font>. That doesn't mean there is anything
actually expired at that time, but the reap happens (doing nothing)
and the strategy's count is reset to zero. If something expires
after this reap, then it will take another 10 accesses (or whatever)
before the newly-expired goes away.<span><br>
<br></span></div></blockquote><div><br></div><div>Thanks Bob for the explanation. It makes sense now. </div><div><br></div><div>So....the last piece on the puzzle that I don't understand now is how can I hook when my session is expired. I mean... MySessionSubclass >> #unregisgtered will be called when reaped, not when expired. So...how can I hook when my session is expired (when it gives the timeout to the user saying session was expired)? Not sure if I need that, but jut wondering ;)</div><div><br></div><div>Thanks!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><span>
<div>On 7/4/15 10:12 AM, Mariano Martinez
Peck wrote:<br>
</div>
<blockquote type="cite">
<div>tells me that maybe I am misunderstanding the
#cacheReapInterval. So maybe it is not 10 sessions... but that
each cache (assume one per session and one per app) would be
cleared only after something was stored there at least 10
times??? mmmmmm</div>
<div><br>
</div>
</blockquote>
<br>
</span></div>
<br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" rel="noreferrer" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br></div>
</div></div>