Duration of seaside session

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Duration of seaside session

dtrussardi@tiscali.it
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
Reply | Threaded
Open this post in threaded view
|

Re: Duration of seaside session

tfleig
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,

       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


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Duration of seaside session

dtrussardi@tiscali.it
Ok Tony,


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.


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 ?


Regards,
TF

On Fri, Mar 4, 2011 at 8:55 AM, [hidden email] <[hidden email]> wrote:
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.


With it  my objective is to define the duration time of any specific session .

When i write : 

  i can define the duration of a specific session ?

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
Reply | Threaded
Open this post in threaded view
|

Re: Duration of seaside session

Philippe Marschall
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