Hello Ranchers, on page 199,HFSJ,it is mentioned that the client can open a new browser window and the container can use the same session for the request from this new browser window. So that means that the session cookie which was stored on the first browser,will be used by all the subsequent browsers requests? and the cookie will be killed only when all the instances of the browsers will be closed?(since I think the cookie will be killed when we close the browser,in case of single instance of browser making the request). Could someone clarify how the browsers haldle with the session cookie.
Thanks for your reply Wang. You are correct,it keeps the same session if we open a new window using ctrl+N,but if we open a new window from outside,it wont keep the cookie information,and that request will not be treated as a part of the session. Also,in case of URL Rewriting,even if we open a new window from outside ,and we copy and paste the url from the main browser window,it will keep the session,since now we are passing the session-id information in the url itself.
SCJP 91%, TOFAG 9 certified 89%
a fool thinks himself to be wise, but a wise man knows himself to be a fool - shakespeare. foolish tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss