#2346: Visit expires even though the user had accessed before expiry time
--------------------------------+-------------------------------------------
 Reporter:  mitsuru.oka         |        Owner:  chrisz      
     Type:  defect              |       Status:  new         
 Priority:  low                 |    Milestone:  1.0.x bugfix
Component:  TurboGears          |      Version:  1.0.8       
 Severity:  normal              |   Resolution:              
 Keywords:  needs patch, visit  |  
--------------------------------+-------------------------------------------
Comment (by chrisz):

 @ChrisA: You probably mean `BaseVisitManager.interval`, not
 `visit.timeout`. That interval was not yet configurable, but I made it
 configurable now in r6751 via the new `visit.interval` setting. The
 default is 30 seconds.

 @mitsuru.oka: You probably mean `visit.timeout`, not `visit.time`. This
 setting is in minutes. Since the visit manager interval is much smaller
 than 10 minutes, it would not happen under the conditions you described.
 However, the basic problem analysis is correct. The described problem
 ''can'' happen if `T3-T2 < 0.5` and `T2 < T1+60 < T3`. E.g. `T2 = T1+59.8`
 and `T3 = T1+60.2`.

 In practice this means it can happen that the user would issue a request
 after waiting for a long time very close to the timeout and it works, then
 some seconds later he tries again but is logged off. That would be in fact
 confusing. Making `visit.interval` smaller and `visit.timeout` larger
 reduces the probability for this to happen, but never gets it to zero. So
 maybe we need to solve this more properly.

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2346#comment:3>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to