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