A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how does jsp create session when there're two requests coming simultaneously
Joined: Apr 19, 2013
May 03, 2014 09:05:30
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.
if so, jsp would create same session(with same session id) for the two requests coming simultaneously? thanks.
science belief, great bioscience!
author & internet detective
Joined: May 26, 2003
May 03, 2014 09:21:16
Yes, Servlets/JSPs will "reuse" the existing session when the second request comes in.
OCA 8 book
How To Ask Questions The Smart Way
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: how does jsp create session when there're two requests coming simultaneously
session management in different tabs in same browser
(Servlets, Thread safety) Protecting the session and context state
Tabs and sub-tabs problem
Two sessions started simultaneously, updating an object
session handling from different tabs of same browser
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015