You could develop a new page annotation (@RequiresSession) that you could mark your pages with. Then you could contribute a ComponentRequestFilter which makes sure that a valid session is available for all pages marked with @RequiresSession. For normal (non-ajax) requests, the filter causes a redirect to your login page. For ajax requests, the filter causes some javascript to fire which sets window.location to your login page.
-- View this message in context: http://tapestry.1045711.n5.nabble.com/Keeping-the-session-alive-pattern-tp5719771p5719785.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org