jsp - Does every browser open a new HTTPSession -


i working on webbased application has jsp , servlets. in application, binding objects sessions following code --

httpsession session = p_req.getsession();          session.setattribute(download_with_warnings, downloadmap); 

later retrieving them using session.getattribute. know if every time open new browser open new http session. because , if setattribute value in 1 browser instance, change visible when getattribute using other browser instance.

the behaviour depends on browsers.

ie 6 - everytime open new browser window, you'll have new session. if open new window using file - new menu, use same session.

all other browsers - opening new browser window use existing session.

to sure, clear cookies once.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -