On timeout, the scope is purged (all variables are empty) and THEN the
variableTimeoutTrigger is fired.  So, I don't know how you plan to save the
user state on timeout.


-----Original Message-----
From: William M Conlon [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2008 4:22 PM
To: [email protected]
Subject: Re: Witango-Talk: variableTimeout


Login ==>  establish user state (ie., user scope variables), Set
UserReferenceCookie
Timeout ==> save user state to database, purge user scope variables
Request ==> If UserReferenceCookie matches a timed-out record, reload
user state from database.

Bill

William M. Conlon, P.E., Ph.D.
To the Point
2330 Bryant Street
Palo Alto, CA 94301
    vox:  650.327.2175 (direct)
    fax:  650.329.8335
mobile:  650.906.9929
e-mail:  mailto:[EMAIL PROTECTED]
    web:  http://www.tothept.com


On Mar 28, 2008, at 1:18 PM, Jesse Parker wrote:

> What do you mean by re-invigorated?  The variableTimeoutTrigger
> happens
> after the scope is gone.
>
>
> -----Original Message-----
> From: William M Conlon [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 28, 2008 4:05 PM
> To: [email protected]
> Subject: Re: Witango-Talk: variableTimeout
>
>
> Just application logic.  I need to make sure that user state is
> properly re-established for a session that timed-out, but has been
> 're-invigorated'.
>
> Bill
>
> William M. Conlon, P.E., Ph.D.
> To the Point
> 2330 Bryant Street
> Palo Alto, CA 94301
>     vox:  650.327.2175 (direct)
>     fax:  650.329.8335
> mobile:  650.906.9929
> e-mail:  mailto:[EMAIL PROTECTED]
>     web:  http://www.tothept.com
>
>
> On Mar 28, 2008, at 12:54 PM, Roland Dumas wrote:
>
>> what's the odd behavior you're seeing?
>>
>> On Mar 27, 2008, at 8:48 AM, William M Conlon wrote:
>>
>>> I want to trigger the variable timeout for debugging so I can
>>> investigate the behavior on expiration and when the user
>>> returns.   I'll use  <@ASSIGN NAME=variableTimeout SCOPE=user
>>> VALUE=1> and wait a minute.
>>> Bill
>>>
>>> William M. Conlon, P.E., Ph.D.
>>> To the Point
>>> 2330 Bryant Street
>>> Palo Alto, CA 94301
>>>   vox:  650.327.2175 (direct)
>>>   fax:  650.329.8335
>>> mobile:  650.906.9929
>>> e-mail:  mailto:[EMAIL PROTECTED]
>>>   web:  http://www.tothept.com
>>>
>>>
>>> On Mar 27, 2008, at 7:13 AM, Jesse Parker wrote:
>>>
>>>> <@PURGE> triggers the variableTimeoutTrigger.  Your "logout"
>>>> function just
>>>> needs to do <@PURGE SCOPE=User> - this causes the scope to expire
>>>> in the
>>>> same way as a variableTimeout.
>>>>
>>>> Keep in mind you'll never see the result of
>>>> variableTimeoutTrigger.  The URL
>>>> is requested and the resulting document is discarded.  You need
>>>> to turn up
>>>> your logging level and watch the logs to see anything.
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: William M Conlon [mailto:[EMAIL PROTECTED]
>>>> Sent: Wednesday, March 26, 2008 10:53 PM
>>>> To: [email protected]
>>>> Subject: Re: Witango-Talk: variableTimeout
>>>>
>>>>
>>>> Yes.  Sorry, I copied the example from the manual.
>>>>
>>>> What I want to do is to trigger a user scope timeout, <@ASSIGN
>>>> NAME=variableTimeout
>>>> SCOPE=user VALUE=1> so I can see the behavior as user scope
>>>> variables
>>>> get re-set.
>>>>
>>>> Bill
>>>>
>>>>
>>>> On Mar 26, 2008, at 7:31 PM, Robert Shubert wrote:
>>>>
>>>>> Isn't that what <@PURGE scope=domain> would do?
>>>>>
>>>>> I don't know if this triggers any variabletimeouttrigger URLS.
>>>>>
>>>>> Robert
>>>>>
>>>>> -----Original Message-----
>>>>> From: William M Conlon [mailto:[EMAIL PROTECTED]
>>>>> Sent: Wednesday, March 26, 2008 9:15 PM
>>>>> To: Witango-Talk
>>>>> Subject: Witango-Talk: variableTimeout
>>>>>
>>>>> Is there a way to force the instantaneous timeout for a scope?
>>>>>
>>>>> Coming back from lunch, I saw some unexpected behavior, which was
>>>>> related to expired user scope variables, and I would like to
>>>>> replicate the problem.
>>>>>
>>>>> It looks like the best I can do is <@ASSIGN NAME=variableTimeout
>>>>> SCOPE=domain VALUE=1> and then wait for a minute before testing.
>>>>>
>>>>> Any other ideas?
>>>>>
>>>>> Bill
>>>>>
>>>>> William M. Conlon, P.E., Ph.D.
>>>>> To the Point
>>>>> 2330 Bryant Street
>>>>> Palo Alto, CA 94301
>>>>>    vox:  650.327.2175 (direct)
>>>>>    fax:  650.329.8335
>>>>> mobile:  650.906.9929
>>>>> e-mail:  mailto:[EMAIL PROTECTED]
>>>>>    web:  http://www.tothept.com
>>>>>
>>>>> __________________________________________________________________
>>>>> _
>>>>> ___
>>>>> __
>>>>> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/
>>>>> maillist.taf
>>>>>
>>>>>
>>>>> __________________________________________________________________
>>>>> _
>>>>> ___
>>>>> __
>>>>> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/
>>>>> maillist.taf
>>>>>
>>>> ___________________________________________________________________
>>>> _
>>>> ____
>>>> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>>>>
>>>> ___________________________________________________________________
>>>> _
>>>> ____
>>>> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>>>>
>>> ____________________________________________________________________
>>> _
>>> ___
>>> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>>>
>>>
>> _____________________________________________________________________
>> _
>> __
>> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>>
> ______________________________________________________________________
> __
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>
> ______________________________________________________________________
> __
> TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
>
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to