• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Dual Session management using weblogic application server.

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"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.
 
pawashank
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic