newbie
newbie

Reputation: 24635

Overriding Servlet container session storage

If want to store my web application session to different storage, because one every new request user might use different node, is it possible to override default container session storage?

Upvotes: 0

Views: 313

Answers (2)

Santosh
Santosh

Reputation: 17903

Please checkout the memcached-session-manager. It stores the session in external memcached server and works for both sticky-session and non-sticky-session(which is your case) scenario.

Upvotes: 0

Manish
Manish

Reputation: 3968

You do not need to overrride anything. It should come with the server you are using. You need to look at "Session replication". In clustering environments, the app server can be configured to replicate session across nodes.

You will need to check documentation of the app server you are using to figure out how this can be enabled.

Upvotes: 1

Related Questions