leon
leon

Reputation: 3

Set the timeout value in Wicket?

How do you set the timeout value in Wicket without using the web.xml file; I am not using one. My project uses bookmarkable pages which I think prevent the session from timing out normally.

Upvotes: 0

Views: 1907

Answers (1)

Don Roby
Don Roby

Reputation: 41137

To manipulate something like this from inside Wicket instead of the more usual way (through web.xml), you'll need to get hold of the actual HttpSession being used.

I haven't tried to do this, but this blog entry provides some hints of how to make this connection.

It's a bit old, so some of the details will have changed. The last comment to the blog provides an alternative to the main content of the blog and looks a bit more recent and more promising.

Upvotes: 1

Related Questions