Dear aLl, I wanted some help on the dual session management on web browser to two different appication instances. i.e the users logs onto one server and the through a link connects to the other server. Now how can we maintain two sessions for same user? Thanks Shashank
The best way would to maintain session in a database that both application servers have access to. So that when the user hits the first app server they get a unique session id that is maintained in the db and when they hit the second app server the unique id is passed to the second app server to look up the session. Session variables are held under the unique id in the db. When the session is terminated from both app servers the entries in the db are archived or deleted. j
I am doing something very similar right now using Weblogic 6.0. It is possible to specify a custom cookie name for each application in the weblogic.xml file (also in weblogic.properties for older versions I believe). This allows each application to have its own session ID and should allow you to use the standard session management techniques.
Joined: Jul 17, 2001
Thanks Steve and Jon. I thinking on the storing the session id in Database, will it have any implication on the application performance?. I'll also try the cookie setting in the weblogiv property file. thanks again.
"pawashank", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements. Thanks.
Dear Frank, Sorry! for using my regular email id, as my user name. My Real name is Shashank Pawaskar. Please tell me how do I change my user name from pawashank to Shashank PAwaskar. Thanks & sorry again, Shashank
subject: Dual Session management using weblogic application server.