I was hoping that maybe the jquery zonerefresh mixin could be made to mark its 
request in such a way to tell the container not to update the session time? I'm 
guessing the container part of this work would be outside Tapestry though.

John
  ----- Original Message -----
  From: Howard Lewis Ship
  To: Tapestry users
  Sent: Friday, August 22, 2014 11:30 PM
  Subject: Re: zone updates prolong session life


  This is not currently possible with Tapestry; in fact some people use just
  the opposite approach, using a Zone update to keep the session live.

  It is difficult to tell, on the server side, what the "intent" of a request
  is, and Tapestry has had no concept of "user generated action" as the
  intent. Any interaction from the client is treated the same, and it is not
  clear how these could be differentiated on the server in such a way as to
  not trigger an extension of session life.


  On Fri, Aug 22, 2014 at 1:37 PM, John <j...@quivinco.com> wrote:

  > Hi,
  >
  > The sessions in my app are supposed to expire after 10 minutes, but I
  > think zone updates are keeping them alive.
  >
  > Is there a way to stop this behaviour? Only user generated actions should
  > prevent a session expiring.
  >
  > regards,
  > John
  >
  > ---
  > This email is free from viruses and malware because avast! Antivirus
  > protection is active.
  > http://www.avast.com
  >



  --
  Howard M. Lewis Ship

  Creator of Apache Tapestry

  The source for Tapestry training, mentoring and support. Contact me to
  learn how I can get you up and productive in Tapestry fast!

  (971) 678-5210
  http://howardlewisship.com
  @hlship


---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

Reply via email to