This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages 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: 75
  • 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: 34973
379
Eclipse IDE Java VI Editor
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic