<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Georgia">I wonder if this doesn't point the way...<br>
<br>
expire<br>
self <br>
greaseDeprecatedApi: 'WASession>>#expire'<br>
details: 'This method might be reimplemented again. In the
meantime, if you just want to remove the Session from the
Application, use WASession>>unregister (#unregistered will
be called as a notification instead of #expired). Otherwise you
should consider adding a Request Filter to the Session that
implements whatever behaviour you want in order to block access to
the Session.'.<br>
^ self unregister<br>
<br>
as well as...<br>
<br>
WACache allInstances do: [ :e | e reap].<br>
<br>
Cheers,<br>
Bob<br>
<br>
</font>
<div class="moz-cite-prefix">On 2/25/14 1:03 PM, Jon Paynter wrote:<br>
</div>
<blockquote
cite="mid:CAPoFHR6jw0oFRtWa+aD+V=kRir1kunovgKWj05SLaDmCnT8HSQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>I run into similar problems with seaside sessions and
expiry. but mainly during development as my image grows
in size.<br>
<br>
</div>
It would be very handy to have a utility or method that
will actively expire and/or remove all sessions on demand
such that I can do the following:<br>
</div>
WASession allInstances size "print" -> some number<br>
</div>
< run some code ><br>
</div>
< run garbage collection ><br>
<div>WASession allInstances size "print" -> 0<br>
<br>
<br>
<br>
<br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Feb 25, 2014 at 8:39 AM, Dave <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:lasmiste@gmail.com" target="_blank">lasmiste@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Karsten,<br>
I'll try your hint<br>
thanks<br>
Dave<br>
<br>
<br>
Karsten Kusche wrote<br>
<div class="">> i thought that’s not 10 created sessions
but 10 queries to the cache. You<br>
> can also create a background timer and let it access
the application’s<br>
> cache and trigger a reap.<br>
><br>
> Kind Regards<br>
> Karsten<br>
><br>
><br>
> --<br>
> Karsten Kusche - Dipl. Inf. -<br>
<br>
> karsten@<br>
<br>
</div>
> (mailto:<br>
<br>
> karsten@<br>
<div class=""><br>
> )<br>
> Georg Heeg eK - Köthen<br>
> Handelsregister: Amtsgericht Dortmund A 12812<br>
><br>
><br>
> Am Dienstag, 25. Februar 2014 um 08:40 schrieb Dave:<br>
><br>
>> No hint?<br>
>><br>
>> Dave<br>
>><br>
>><br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <a moz-do-not-send="true"
href="http://forum.world.st/Session-expiration-and-data-cleaning-tp4745919p4746106.html"
target="_blank">http://forum.world.st/Session-expiration-and-data-cleaning-tp4745919p4746106.html</a><br>
>> Sent from the Seaside General mailing list
archive at Nabble.com<br>
</div>
>> (<a moz-do-not-send="true" href="http://Nabble.com"
target="_blank">http://Nabble.com</a>).<br>
<div class="">>>
_______________________________________________<br>
>> seaside mailing list<br>
>><br>
<br>
> <a class="moz-txt-link-abbreviated" href="mailto:seaside@.squeakfoundation">seaside@.squeakfoundation</a><br>
<br>
</div>
> (mailto:<br>
<br>
> <a class="moz-txt-link-abbreviated" href="mailto:seaside@.squeakfoundation">seaside@.squeakfoundation</a><br>
<br>
> )<br>
>> <a moz-do-not-send="true"
href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside"
target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<div class="">>><br>
>><br>
><br>
><br>
><br>
> _______________________________________________<br>
> seaside mailing list<br>
<br>
> <a class="moz-txt-link-abbreviated" href="mailto:seaside@.squeakfoundation">seaside@.squeakfoundation</a><br>
<br>
> <a moz-do-not-send="true"
href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside"
target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br>
<br>
<br>
<br>
<br>
</div>
--<br>
View this message in context: <a moz-do-not-send="true"
href="http://forum.world.st/Session-expiration-and-data-cleaning-tp4745919p4746303.html"
target="_blank">http://forum.world.st/Session-expiration-and-data-cleaning-tp4745919p4746303.html</a><br>
<div class="HOEnZb">
<div class="h5">Sent from the Seaside General mailing list
archive at Nabble.com.<br>
_______________________________________________<br>
seaside mailing list<br>
<a moz-do-not-send="true"
href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a moz-do-not-send="true"
href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside"
target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
</pre>
</blockquote>
<br>
</body>
</html>