hi,

i got a problem with wicket's session timeout. i'm using wicket version
1.4.9. i set the session timeout to 1 minute in the file web.xml.
in my case this is necessary to recognize if an user is on-/offline quite
fast. if the user closes the browser the session is timed out after 1
minute.

i don't want the session to timeout in case the user is hanging around on
one of the pages. so what i did is to establish a self updating timer in the
following way:

        add(lblMessages);
        lblMessages.add(new
AjaxSelfUpdatingTimerBehavior(Duration.seconds(GloCon.TIMER_UPDATE_HEADER))); 
                
the label is updated every 30 seconds and part of a panel that is part of
all pages. and still i got session timeouts. i can't figure out why!? i
searched the web already for a while: the above mentioned solutions is
exactly what should work.
i found also something about constructors and PageParameters ... but this
happens also on pages with PageParameters in the constructor.

or is tomcat the problem (version 6)?

can you please help me ...

regards,
tobi



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Avoid-session-timeout-through-AjaxSelfUpdatingTimerBehavior-tp4654240.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to