File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes New Browser window vs New browser tab Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "New Browser window vs New browser tab" Watch "New Browser window vs New browser tab" New topic
Author

New Browser window vs New browser tab

Schandha Ravi
Ranch Hand

Joined: Oct 20, 2007
Posts: 167
Hi All,

My question might be a older one and would have already addressed, but could not find it in this forum and my sincere apologies here, if my question is a duplicate one.
I'm working on a sample web application just to print the session and request objects. It is working fine, but I display the same objects (Both Session and Request) when I invoke the servlet from different browser tabs (IE 7.0). But I get different session and request objects if I use a fresh new browsing window rather than a new tab.

What is the difference between new Browsing Tab and Window.


Thanks & Regards, SK
SCJP 5.0, DB2 - 800, DB2 - 803, SCDJWS (On the way)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61770
    
  67

None in real browsers. In IE, depending upon how the separate browser window is created, cookies may or may not be shared. Since cookies are how the sessions are tracked, no cookie sharing means no session sharing.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Schandha Ravi
Ranch Hand

Joined: Oct 20, 2007
Posts: 167
Thanks Bear
Sripathi Krishnamurthy
Ranch Hand

Joined: Mar 07, 2005
Posts: 232
Bear, From what you have said, I understand that if the application is opened in a "new Tab", it can be configured to use new session data and not share the session data from an existing window. But this setting is not there in firefox. I dont have IE 7 installed, hence do not know whether it possible in IE. But I couldnt do this setting in firefox. what happened was when I opened several application windows in firefox using tab, it all shared the same session data. Hence we were forced to ask the user to use different browser windows and not tab windows in firefox. Mozilla firefox version is 2.0.0.12
S Reddy
Ranch Hand

Joined: May 17, 2007
Posts: 45
But, I can open two http://meebo.com tabs in the same Firefox window. Can anybody know how to do this? I just want my application to be used with two different sessions in the same window like meebo did.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: New Browser window vs New browser tab