Hello Jim,
What about the sessions between different JSP pages
or between a jsp and a servlet ,how do i the data transfer between them
the session object is unique for each jsp ?
Sanjay
>From: Jim Preston <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Session management question...
>Date: Fri, 30 Jun 2000 12:06:32 -0700
>
>Well, by "maintain the session" I assume you mean can you share the data in
>the session between two servers. The answer is no, not directly. Session
>data is stored on the server, and there's no automatic way to get it from
>one server to another. The server gives the client/browser a cookie to
>identify the session; the client gives the cookie back to the server so
>that
>the server knows which session it is, and the server retrieves the data for
>that session. If you go to a different server, you not only get a different
>cookie but that server has completely independent session data as well. To
>share the session data, you'd have to have some sort of communication
>between the two servers, using RMI or EJBs, so that they could
>cooperatively
>share their session data as well as the session-id cookies in order to
>match
>everything up.
>
>--Jim Preston
>
>
>-----Original Message-----
>From: A mailing list about Java Server Pages specification and reference
>[mailto:[EMAIL PROTECTED]]On Behalf Of Maureen
>Sent: Thursday, June 29, 2000 5:54 PM
>To: [EMAIL PROTECTED]
>Subject: Session management question...
>
>
>If a user accesses a website and creates a session, then follows a link
>from
>my site to a sister site, can I maintain the session from server to server
>using JSP? If so, how?
>
>TIA
>
>Maureen
>
>
>
>
>beware the fish in the sea...
>www.sharkfishcity.com
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>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
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>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
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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