• Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I make an application with n no. of sessions for n no. of browser?

 
Nathan KV
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai all
Iam opening a browser and loading a JSP page to logon to our application,
After successfully loged in Iam storing the username(eg. user1) in session.
Then iam opening another browser and loading a JSP page to logon to our application.
After successfully loged in Iam storing the username(eg. user2) in session.
here the username for first browser is changed as 'user2'.
How can i make an application with n no. of sessions for n no. of browser?
"My application should work with n no. of users logged in with n no. of browsers which is opened in a same computer."
Please reply me immediately
Regards
Nathan

 
Manohar Karamballi
Ranch Hand
Posts: 227
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai Nathan!
I donno whether it's possible to have different sesions or not(let me know if it's possible). But logging can be done using hashtable and storing userID value with key UserId.
Hope this might help u...
Rgds
Manohar
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!