wood burning stoves 2.0*
The moose likes Servlets and the fly likes Dual Session management using weblogic application server. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Dual Session management using weblogic application server." Watch "Dual Session management using weblogic application server." New topic
Author

Dual Session management using weblogic application server.

pawashank
Greenhorn

Joined: Jul 17, 2001
Posts: 5
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
jon boydell
Greenhorn

Joined: Jul 04, 2001
Posts: 15
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
Steve Snodgrass
Greenhorn

Joined: Jun 12, 2001
Posts: 27
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.

pawashank
Greenhorn

Joined: Jul 17, 2001
Posts: 5
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.
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"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.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
pawashank
Greenhorn

Joined: Jul 17, 2001
Posts: 5
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Dual Session management using weblogic application server.
 
Similar Threads
Asynchronous session management
Application Times Out
Hardware inputs for architects
JSP
weblogic server 7.0 session management