<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>
      &nbsp;&nbsp;&nbsp; self <br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; greaseDeprecatedApi: 'WASession&gt;&gt;#expire'<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; details: 'This method might be reimplemented again. In the
      meantime, if you just want to remove the Session from the
      Application, use WASession&gt;&gt;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>
      &nbsp;&nbsp;&nbsp; ^ 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.&nbsp; 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" -&gt; some number<br>
          </div>
          &lt; run some code &gt;<br>
        </div>
        &lt; run garbage collection &gt;<br>
        <div>WASession allInstances size "print" -&gt; 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">&lt;<a moz-do-not-send="true"
              href="mailto:lasmiste@gmail.com" target="_blank">lasmiste@gmail.com</a>&gt;</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="">&gt; i thought that&#8217;s not 10 created sessions
              but 10 queries to the cache. You<br>
              &gt; can also create a background timer and let it access
              the application&#8217;s<br>
              &gt; cache and trigger a reap.<br>
              &gt;<br>
              &gt; Kind Regards<br>
              &gt; Karsten<br>
              &gt;<br>
              &gt;<br>
              &gt; --<br>
              &gt; Karsten Kusche - Dipl. Inf. -<br>
              <br>
              &gt; karsten@<br>
              <br>
            </div>
            &gt; &nbsp;(mailto:<br>
            <br>
            &gt; karsten@<br>
            <div class=""><br>
              &gt; )<br>
              &gt; Georg Heeg eK - K&ouml;then<br>
              &gt; Handelsregister: Amtsgericht Dortmund A 12812<br>
              &gt;<br>
              &gt;<br>
              &gt; Am Dienstag, 25. Februar 2014 um 08:40 schrieb Dave:<br>
              &gt;<br>
              &gt;&gt; No hint?<br>
              &gt;&gt;<br>
              &gt;&gt; Dave<br>
              &gt;&gt;<br>
              &gt;&gt;<br>
              &gt;&gt;<br>
              &gt;&gt; --<br>
              &gt;&gt; View this message in context:<br>
              &gt;&gt; <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>
              &gt;&gt; Sent from the Seaside General mailing list
              archive at Nabble.com<br>
            </div>
            &gt;&gt; (<a moz-do-not-send="true" href="http://Nabble.com"
              target="_blank">http://Nabble.com</a>).<br>
            <div class="">&gt;&gt;
              _______________________________________________<br>
              &gt;&gt; seaside mailing list<br>
              &gt;&gt;<br>
              <br>
              &gt; <a class="moz-txt-link-abbreviated" href="mailto:seaside@.squeakfoundation">seaside@.squeakfoundation</a><br>
              <br>
            </div>
            &gt; &nbsp;(mailto:<br>
            <br>
            &gt; <a class="moz-txt-link-abbreviated" href="mailto:seaside@.squeakfoundation">seaside@.squeakfoundation</a><br>
            <br>
            &gt; )<br>
            &gt;&gt; <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="">&gt;&gt;<br>
              &gt;&gt;<br>
              &gt;<br>
              &gt;<br>
              &gt;<br>
              &gt; _______________________________________________<br>
              &gt; seaside mailing list<br>
              <br>
              &gt; <a class="moz-txt-link-abbreviated" href="mailto:seaside@.squeakfoundation">seaside@.squeakfoundation</a><br>
              <br>
              &gt; <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>