Hi,
i can define the duration of a specific session ? When the WASession unregistered method is call from the system i can define the duration of the session ? If possible the specific time from start session to the last clic on the page. Thank for any considerations , Dario _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
I use this in my application class initialize method to set the session to 120 secs. | application | application := WAAdmin register: self asApplicationAt: self appName.
application cache expiryPolicy configuration at: #cacheTimeout put: 120. Regards, TF On Fri, Mar 4, 2011 at 8:55 AM, [hidden email] <[hidden email]> wrote: Hi, _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Ok Tony,
This define the #cacheTimeout. I think the hold 'defaultTimeoutSeconds' parameter for the session. Or i wrong ? But i can read / set this data when the system create a WASession ?
With it my objective is to define the duration time of any specific session . When i write :
i think to get the duration time of a specific session : delta form start time to close time of the session. Thank, Dario _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by dtrussardi@tiscali.it
2011/3/4 [hidden email] <[hidden email]>:
> Hi, > > i can define the duration of a specific session ? No, that's no longer possible in Seaside 3. You can only define the duration of all the session of an application. > When the WASession unregistered method is call from the system i can define the duration of the session ? No, at that point the session is already gone. > If possible the specific time from start session to the last clic on the page. The last access time in in the lastAccessTable in WALastAccessExpiryPolicy but it might not be trivial to get it. Cheers Philippe _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |