• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help to create two sessions from single browser

 
prem chopra
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone help me to create two sessions from single browser
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have two separate web applications, you will automatically get two independent sessions.

For one web application you get one session. You can certainly use that session to keep two separate sets of user data if that is what you want.

What is the purpose you have in mind?

Bill

 
Joe May
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just append a new jsession id in the query string of every request.. i hope am right never tried it
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just append a new jsession id in the query string of every request..


Don't be silly! A session ID means nothing if it has not been created by the servlet container at the time the session object is created. You can't get around the session mechanism.

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic