Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how does jsp create session when there're two requests coming simultaneously

 
drac yang
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how does jsp create session when there're two requests coming simultaneously from the same client browser(maybe one tab maybe two tabs)?

i ask this question because it is said jsp could solve DuplicateSessionException in flex.

http://www.alexglosband.com/2010/03/avoiding-duplicate-session-detected-errors-in-lcds-and-blazeds/#comment-3498

if so, jsp would create same session(with same session id) for the two requests coming simultaneously? thanks.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33696
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, Servlets/JSPs will "reuse" the existing session when the second request comes in.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic