<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Feb 15, 2017 at 5:46 AM, Mariano Martinez Peck <span dir="ltr"><<a target="_blank" href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><br><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-">On Wed, Feb 15, 2017 at 10:28 AM, Robert Kuszinger <span dir="ltr"><<a target="_blank" href="mailto:kuszinger@giscom.hu">kuszinger@giscom.hu</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div class="gmail_extra">Hello!</div><div class="gmail_extra"><br></div><div class="gmail_extra">I have a running Seaside app (in Pharo). I'd like to change the session expiry.</div><div class="gmail_extra">Found an example of:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"><font size="1" face="monospace, monospace">application cache expiryPolicy configuration</font></div><div class="gmail_extra"><font size="1" face="monospace, monospace">  at: #cacheTimeout</font></div><div class="gmail_extra"><font size="1" face="monospace, monospace">  put: (45 * 60 )</font></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">(I'd like to make it 45 minutes because of long uploads)</div><div class="gmail_extra"><br></div><div class="gmail_extra">I have this class as main object.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"><font size="1" face="monospace, monospace">WAComponent subclass: #GcMBFHMain</font></div><div class="gmail_extra"><font size="1" face="monospace, monospace"><span style="white-space:pre-wrap" class="gmail-m_-1456306608130174057gmail-m_-8897534513227536052gmail-Apple-tab-span"> </span>instanceVariableNames: 'sessionId uploadData userInfo validLogin statusMessage ini db mode sessionData'</font></div><div class="gmail_extra"><font size="1" face="monospace, monospace"><span style="white-space:pre-wrap" class="gmail-m_-1456306608130174057gmail-m_-8897534513227536052gmail-Apple-tab-span">   </span>classVariableNames: ''</font></div><div class="gmail_extra"><font size="1" face="monospace, monospace"><span style="white-space:pre-wrap" class="gmail-m_-1456306608130174057gmail-m_-8897534513227536052gmail-Apple-tab-span">    </span>category: 'GiscomKkt'</font></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">In this image the /seaside (configuration?) application is not present anymore (or switched off, I forgot what I did).</div><div class="gmail_extra"><br></div><div class="gmail_extra">QUESTIONS:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><ul><li><b>Where do I know/get my application object being able to send to it the messages of the upper example in this email?</b></li></ul></div></div></div></blockquote><div><br></div></span><div>WADispatcher default handlerAt: 'yourApp'<br></div><div><br></div><div>'yourApp' is whatever is after /   (how you have registered the app). </div><div><br></div><div>For example localhost:88/yourApp</div><span class="gmail-"><div><br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div class="gmail_extra"><div class="gmail_extra"><ul><li>Is there a method to set expiry dinamically. For example: when rendering normal pages I set the timeout to 15 min. When upload start page is rendered, expiry is set to 45 min and following a successful upload expiry is set back to 15 min. Uploads are handled by an external app (.Net) but then the request comes back to the same Seaside session from where it was started (called out)</li></ul></div></div></div></blockquote><div><br></div></span><div>I don't know. </div><div><br></div><div> </div></div></div></div></blockquote></div><br><div><div>I faced the same problem with page expiry - some pages have a 
much longer workflow than the rest of my application -- hours vs 10mins.<br></div>so I setup a simple js timer to re-submit the form every so often.<br><br></div>you may be able to achieve the same thing with an ajax request</div></div>