<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Mariano,<br>
      <br>
      I would be interested in your experiences with 5 hours. We went
      for 40 minutes in order to give the server a chance to free RAM.
      Since Seaside by default doesn't clean up sessions when they
      expire, but only when new ones are requested, I'd be worried about
      memory usage with such long session intervals...<br>
      <br>
      Another question: what do maximumRelativeAge and
      maximumAbsoluteAge acrually do? Is this some way of tweaking the
      session cleanup policy?<br>
      <br>
      <br>
      Joachim<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      Am 28.11.16 um 02:09 schrieb Mariano Martinez Peck:<br>
    </div>
    <blockquote
cite="mid:CAA+-=mUns88e6WqTYEFSiORN_DKcCfWBBmC4sc1mqvk6gkM8VQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">This is the way I do it and it works for me:
        <div><br>
        </div>
        <div>
          <div>app cache expiryPolicy configuration</div>
          <div>        at: #'cacheTimeout'</div>
          <div>        put: 5 hours asSeconds </div>
          <div><br>
          </div>
          <div>That should go in the code you use to register your
            seaside app (likely from a class side #initialize).</div>
          <div><br>
          </div>
          <div>Let me know if that helped.</div>
          <div><br>
          </div>
          <div>Cheers,</div>
          <div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span></div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sat, Nov 26, 2016 at 5:22 PM, Petr
          Fischer <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:petr.fischer@me.com" target="_blank">petr.fischer@me.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,
            when starting my image with Seaside app, I have this code in
            startup method:<br>
            <br>
            -----<br>
            WAMySeasideApp>>startUp: resuming<br>
                    WAMySeasideApp waApplication<br>
                            preferenceAt: #maximumRelativeAge<br>
                            put: 18000. "5 hours"<br>
                    WAEFTTasksApp waApplication<br>
                            preferenceAt: #maximumAbsoluteAge<br>
                            put: 86400. "24 hours"<br>
                    ZnZincServerAdaptor startOn: 8080.<br>
            <br>
            WAMySeasideApp>>waApplication<br>
                    ^ WAAdmin defaultDispatcher handlerAt:
            'my-seaside-app'<br>
            -----<br>
            <br>
            This "maximum age" session parameters are correctly showing
            in seaside config web app, but every seaside session is
            still 30 minutes.<br>
            <br>
            What is proper way to configure session timeouts (age),
            dynamically, via code?<br>
            <br>
            Thanks, pf<br>
            ______________________________<wbr>_________________<br>
            seaside mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.<wbr>squeakfoundation.org</a><br>
            <a moz-do-not-send="true"
href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside"
              rel="noreferrer" target="_blank">http://lists.squeakfoundation.<wbr>org/cgi-bin/mailman/listinfo/<wbr>seaside</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature" data-smartmail="gmail_signature">Mariano<br>
          <a moz-do-not-send="true"
            href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
        </div>
      </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>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          <a class="moz-txt-link-freetext" href="mailto:jtuchel@objektfabrik.de">mailto:jtuchel@objektfabrik.de</a>
Fliederweg 1                         <a class="moz-txt-link-freetext" href="http://www.objektfabrik.de">http://www.objektfabrik.de</a>
D-71640 Ludwigsburg                  <a class="moz-txt-link-freetext" href="http://joachimtuchel.wordpress.com">http://joachimtuchel.wordpress.com</a>
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1

</pre>
  </body>
</html>