• Post Reply Bookmark Topic Watch Topic
  • New Topic

session

 
dharmendra Rathor
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A Client use two different browser to request the same servlet , will session be same for both request form client .
 
anil kumar
Ranch Hand
Posts: 447
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

No,sessions are different.


Thanks

Anil Kumar
 
Sudarshan Sreenivasan
Ranch Hand
Posts: 188
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Th reason being each browser window represents a diff client to the server ..... hopefully i am correct !!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65680
129
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, it depends.

If the browser instances share cookies, they will share the same session. It depends on the browser and how the new browser instances are created.
 
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!