0

I'm using Wicket 1.5 and I'm wanting to have a different time out period set for different pages.

Say on the "My Profile" screen, I would want the timeout period to be longer than the timeout period for the "change password" screen. At the moment the timeout property is set in the server properties and is the same for every page.

Could I set the property somewhere else, just for the change password screen or other selected screens? If I could do this, how would I go about doing it?

4

1 回答 1

1

据我所知,这是不可能的,因为会话超时由 servlet 容器处理。您可以在 web.xml 中指定它。

您可以通过存储页面呈现的时间并将其与表单提交的时间进行比较来伪造它。

于 2012-11-21T15:56:03.330 回答