File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Client/browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Client/browser" Watch "Client/browser" New topic


Kannan Raju
Ranch Hand

Joined: Jul 07, 2005
Posts: 44
The page# 199 of HFSJ book says that "The client could open a new browser window! So the container can still use the same session for a client".
But, in the earlier chapter it said that the browser is the client.

I am confused whether the computer or the browser the client?


SCJP1.4<br />SCWCD (in progress)
Leandro Melo
Ranch Hand

Joined: Mar 27, 2004
Posts: 401
Originally posted by Kannan Raju:

But, in the earlier chapter it said that the browser is the client.

So is this time! The browser is the client.

Leandro Melo
SCJP 1.4, SCWCD 1.4

Joined: Jan 07, 2001
Posts: 6
Talking in terms of hardware client is the machine which is establishing a connection to the server machine with the servlet container thru HTTP.

Talking in terms of software, browser is the client which is communicating to Web Server thru servlet container.

Talking in terms of users of the web application, users are the client of the web-application who log on to the web server to get its services.

Hence the client-machine, browser and user are synonymous with the client.

Dinesh Mishra
SCJP 1.4
Sumeet Raheja

Joined: Dec 01, 2004
Posts: 16
New Session is created when you click on IE icon and new Window opens , If new window is open from the existing window by file->New->Window It has the same session as of parent window
Aruneesh Salhotra
Ranch Hand

Joined: May 12, 2004
Posts: 167
Does the response from Sumeet seem correct.
I understand it is at the cookie level that the sessions are being controlled.
Basically when a page is requested from the server, the JSESSIONID is passed, and on the server side the JESSIONID is checked for being valid.

If not, that means the session no longer exists due to 2-3 reasons.
I agree. Here's the link:
subject: Client/browser
It's not a secret anymore!