Session when running webapp in 2 tabs

asked 2013-09-11 22:35:25 +0800

robertkaren gravatar image robertkaren
77 7

updated 2013-09-11 22:37:40 +0800

Simple question. If I start webapp twice, each in its own tab of browser, doesn't each get its own Sessions.getCurrent()? In my app they seem to be sharing the data - 2nd one overwrites the first one(?). When I run it w/ separate browsers session data stays unique for each, as I would expect. Thanks for any clarification.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-09-12 05:13:11 +0800

ashishd gravatar image ashishd flag of Taiwan
1972 6

Within the same browser instance all tabs loading resources from the same domain will share the same http session. In other words multiple tabs in same browser window share the same Session. This is http specification.

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2013-09-11 22:35:25 +0800

Seen: 6 times

Last updated: Sep 12 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More