Re: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread Daniel Peters
Martin Asenov wrote: In my webapp it looks like the session never expires, although I've set timeout of 30 seconds. But I have a digital clock in my right lower corner of the screen, that has an AjaxSelfUpdatingBehavior activated on it. Does it simulate user actions, that may cause session not

RE: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread Martin Asenov
To: users@wicket.apache.org Subject: Re: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration? Hi Martin, AjaxSelfUpdatingTimerBehavior has an method called onPostProcessTarget(...); its is called each time the ajax request hits the server side. You will want to add yo

Re: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread Michael O'Cleirigh
cket.apache.org Subject: Re: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration? Maybe you can disable your "clock" if the user havenĀ“t performed any other activity for a while... That way session will expire... Ernesto On Tue, Mar 16, 2010 at 2:46

RE: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread Martin Asenov
al Message- From: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Sent: Tuesday, March 16, 2010 4:08 PM To: users@wicket.apache.org Subject: Re: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration? Maybe you can disable your "clock" if the us

Re: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread Ernesto Reinaldo Barreiro
gt; To: users@wicket.apache.org > Subject: Re: Does AjaxSelfUpdatingBehavior simulate user actions and > prevent session from expiration? > > yes. Ajax contacts the server. And on each request the timer are reset. > > So your ajax behavior are also functioning as a heartbeat or ke

Re: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread Jonas
gards, > Martin > > -Original Message- > From: nino martinez wael [mailto:nino.martinez.w...@gmail.com] > Sent: Tuesday, March 16, 2010 3:39 PM > To: users@wicket.apache.org > Subject: Re: Does AjaxSelfUpdatingBehavior simulate user actions and prevent > session from

RE: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread Martin Asenov
l.com] Sent: Tuesday, March 16, 2010 3:39 PM To: users@wicket.apache.org Subject: Re: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration? yes. Ajax contacts the server. And on each request the timer are reset. So your ajax behavior are also functioning as a hear

Re: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread Ernesto Reinaldo Barreiro
http://chillenious.wordpress.com/2007/06/19/how-to-create-a-text-area-with-a-heart-beat-with-wicket/ On Tue, Mar 16, 2010 at 2:27 PM, Martin Asenov wrote: > Hello, everyone! > > In my webapp it looks like the session never expires, although I've set > timeout of 30 seconds. But I have a digital

Re: Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread nino martinez wael
yes. Ajax contacts the server. And on each request the timer are reset. So your ajax behavior are also functioning as a heartbeat or keepalive feature. 2010/3/16 Martin Asenov > Hello, everyone! > > In my webapp it looks like the session never expires, although I've set > timeout of 30 seconds.

Does AjaxSelfUpdatingBehavior simulate user actions and prevent session from expiration?

2010-03-16 Thread Martin Asenov
Hello, everyone! In my webapp it looks like the session never expires, although I've set timeout of 30 seconds. But I have a digital clock in my right lower corner of the screen, that has an AjaxSelfUpdatingBehavior activated on it. Does it simulate user actions, that may cause session not to e