Session parameter

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

Session parameter

dtrussardi@tiscali.it
Hi,

         i have two questions about Seaside 30.

        A) When the system create a new session i can in the WASession start method "read" the session key of the new session ?

        B)   I can read and set the defaultTimeoutSeconds of the session ?


        Thanks,

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

Re: Session parameter

Philippe Marschall
2011/3/4 [hidden email] <[hidden email]>:
> Hi,
>
>         i have two questions about Seaside 30.
>
>        A)      When the system create a new session i can in the        WASession start method                 "read" the session key of the new session ?
>
>        B)   I can read and set the             defaultTimeoutSeconds   of the session ?

What is the problem you're trying to solve?

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

Re: Session parameter

dtrussardi@tiscali.it

Hi,

> 2011/3/4 [hidden email] <[hidden email]>:
>> Hi,
>>
>>         i have two questions about Seaside 30.
>>
>>        A)      When the system create a new session i can in the        WASession start method                 "read" the session key of the new session ?
>>
>>        B)   I can read and set the             defaultTimeoutSeconds   of the session ?
>
> What is the problem you're trying to solve?

I'm interested to record the reference to session key and the relative duration of the session.

I create a Dictionary DTRdbGestioneSession  with key set to: DateAndTime now asDate and value set to: SortedCollection with all records relative to the sessions in that date.


P.S.  I have a problem when inspect the Dictionary : <error in asExplorerString :  evaluate "#DTRdbGestioneSession asExplorerString" to debug

        Questions :  what is the best solution ( sorting - selection - rendering ) to set the key of the dictionary relative to an Date.

                                I don't find a specific pure Data class with only date.
                       
                                I think to set the key to the string of data '2011-03-05' for example but i'm not persuaded

Thank,

        Dario

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