• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Client/browser

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?

Thanks
 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.


Regards,
Dinesh Mishra
SCJP 1.4
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic