Re: How to define the duration of my sessions
Sabine Manaa <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <CA+UbgZa+ZWdUQciow50_dnCK-=eE0wVr1hkfO1aFeNeeOtSA1w@mail.gmail.com> |
Hi Johan, my 2nd question was how to do something when the session is terminated. I am wondering that when trying your suggestion with >>unregistered, it is called not when the session expires but more early. I found this: http://forum.world.st/Seaside-sessions-not-being-either-unregistered-or-GCed-td4835659.html#a4835753 I will look closer tomorrow, but perhaps you can confirm that it is not >> unregistered Or do I understand it wrong? Regards Sabine 2017-01-20 20:22 GMT+01:00 Sabine Manaa <[email protected]>: > 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] <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=4930149&i=0>>: > >> 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-d >> efine-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-sessi >> ons-tp4930014p4930111.html >> To start a new topic under Seaside General, email [hidden email] >> <http:///user/SendEmail.jtp?type=node&node=4930149&i=1> >> To unsubscribe from Seaside, click here. >> 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: Re: How to define the duration of my > sessions > <http://forum.world.st/How-to-define-the-duration-of-my-sessions-tp4930014p4930149.html> > > Sent from the Seaside General mailing list archive > <http://forum.world.st/Seaside-General-f86180.html> at Nabble.com. > > _______________________________________________ > seaside mailing list > [email protected] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside