Servlet Context like thing when we go for Clustering...
posted 14 years ago
Hai All! I am using servlet context for tracking the Sessions of Users by storing session info in that. (Say user can't access more than 3 sessions at a time ). This worked fine as long as i worked with a single server processing requests. Now i have Server Clustering and request can be directed to any of the Servers and my idea of Servlet Context fails. So is there any alternative approach to handle this situation? That is some sort of object is to be created to store session info and it is to be accessed by all of the servers in a Cluster. Efficiency is also a matter of concern but first of all alternative approach is required. Any suugestions in this regard is appreciable. Regards & TIA Manohar