Re: How to define the duration of my sessions
Sabine Manaa <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <CA+UbgZaAZ8iRpr+3zR94U+mbngij+tyjP4OYT2-xYiGXDeJ=iA@mail.gmail.com> |
Hi Johan, hi Petr, thank you! I did not succeed today with Johans code and thought that I will continue tomorrow. With the hint of Petr (and Nicolai), it works now. I do something like: theApplication := WAAdmin register: RKALayoutView asApplicationAt: theApplicationName. theApplication cache: theApplication createCache Regards, sabine 2017-01-20 17:00 GMT+01:00 Petr Fischer-2 [via Smalltalk] < [email protected]>: > http://stackoverflow.com/questions/41173162/how-to- > configure-seaside-3-2-session-timeouts-age > > > > Hi, > > > > how can I define the duration of my sessions? > > > > >>application cache expiryPolicy configuration at: #cacheTimeout put: > 120. > > does not work any longer (no implementor of #expiryPolicy) > > > > In the comment of WASession there is the text "If the session has not > been > > used for #defaultTimeoutSeconds, it is garbage collected by the system. > " > > but there is no implementor of #defaultTimeoutSeconds. > > > > And 2nd question, is it possible to define a certain task to do from my > > session instance if the session is unregistered because of duration? > (e.g. > > write sth in a log file) > > > > (From the class comment also: WARegistry clearAllHandlers. does not > exist > > any more) > > > > Regards > > Sabine > > > > > > > > > > > > > > -- > > View this message in context: http://forum.world.st/How-to- > define-the-duration-of-my-sessions-tp4930014.html > > Sent from the Seaside General mailing list archive at Nabble.com. > > _______________________________________________ > > seaside mailing list > > [hidden email] <http:///user/SendEmail.jtp?type=node&node=4930111&i=0> > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > _______________________________________________ > seaside mailing list > [hidden email] <http:///user/SendEmail.jtp?type=node&node=4930111&i=1> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://forum.world.st/How-to-define-the-duration-of-my- > sessions-tp4930014p4930111.html > To start a new topic under Seaside General, email > [email protected] > To unsubscribe from Seaside, click here > <http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1310907&code=bWFuYWEuc2FiaW5lQGdtYWlsLmNvbXwxMzEwOTA3fC0xOTE3OTcxOTg5> > . > NAML > <http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://forum.world.st/How-to-define-the-duration-of-my-sessions-tp4930014p4930149.html Sent from the Seaside General mailing list archive at Nabble.com. _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside