Hi,

I am talking about second method, If you create a new instance of browser
then also it takes complete URL data from it's parent. So in new open
browser you have your old URL session data then how it create a new session
in child browser ?

pl. explain second case.

Thanks
Bhavesh Vakil.

----- Original Message -----
From: Sudheendra Hebbagilu <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 28, 2000 2:43 PM
Subject: Re: Session - clarify please


> Hi,
> There are actually 2 ways, u can track session by cookies or url
rewriting.
>
> Scenario 1. - Session tracking by cookies.
> When u make a request to the server, the server looks for the cookies. If
> cookie present it looks for the session object with that id (which is in
the
> cookie). Then associates this request with this session.
>
> When u open a another instance of the same browser (for eg both were
> Netscape). Then both instances share the cookie. So u will get only one
> session.
> On the other hand, u open another browser (say IE), then there is no
cookie
> present. So u'll get a new session.
> Netscape and IE store cookies in different places.
>
>
> Scenario 2 - session tracking by url rewriting.
> In this case it will work differently. A request is associated with a
> session from the parameter passed in the url(this parameter is the session
> id). So if u dont have a session id parameter, u'll get a different
session,
> even though its the another instance of the same browser.
>
> If its still not clear, just let me know, I'll explain once again.
> HTH
> Sudhi
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to