Reputation: 1562
Is it possible to store Wicket session data in database (of any kind)? For example in MySQL, Redis, MongoDB? Or to persist data on filesystem between restarts of application server?
I'm mainly interested because when developing, it's a pain after restarting application server to log in again, again and again.
Upvotes: 3
Views: 895
Reputation: 1290
There are several options available in wicketstuff including Cassandra, Hazelcast, Ignite and Redis.
Upvotes: 0
Reputation: 3583
about login again and again, my approach is check if wicket is in development mode then pass the login with a test user.
however the JSESSIONID is generated by the servlet container not by the wicket framework.
Under what conditions is a JSESSIONID created?
in apache tomcat you can do something like How to generate custom JSESSIONID, based on some hash of user's data in order to replicate session
Upvotes: 2