<div dir="ltr">Hi guys,<div><br></div><div>I was not yet able to correctly set session expiration timeout for my app. I was doing something like this:</div><div><br></div><div>------------</div><div><br></div><div><span style="white-space:pre">        </span>app := <b>(WAAdmin register: self asApplicationAt: aSuffix)</b></div><div><div><span style="white-space:pre">                </span>preferenceAt: #sessionClass put: DpWebSession;</div><div><span style="white-space:pre">                </span>preferenceAt: #actionPhaseContinuationClass put: FaCallbackProcessingActionContinuation;</div><div><span style="white-space:pre">              </span>preferenceAt: #trackingStrategy put: FaWAQueryFieldAndCookieTrackingStrategy new;</div><div><span style="white-space:pre">             </span>yourself.</div><div><b><br></b></div><div><b>app configuration at: #maximumRelativeAge put: seconds.</b></div><div><b>app configuration at: #maximumAbsoluteAge put: 0.</b></div><div><br></div><div>"much more here to continue  customizing the app" </div><div>....</div><div><br></div><div><br></div><div>-----------</div><div><br></div><div><br></div><div>What is the problem? That #register:asApplicationAt: ends up creating the cache BEFORE I can change the configuration...   so the 'cache' is created with the default 1800 rather than with what I want. </div><div><br></div><div>The workaround is to either do "<span style="font-size:12.8px">app cache: app createCache"   or "app initialize" once I am done with all my configuration... but it looks... weird...</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thoughts? </span></div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature">Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br></div>
</div></div>