The session is maintain by
- cookies if the browser supports them and the user, of course, didn't disabled
them. Some server also have an option to enable or
disable session tracking
or
- using URL rewriting with the methods encodeURL or encodeRedirectURL of the
response object. Your server should of course supports the urlRewriting, I think
now most of them support this.

    There are some more methods like using a form hidden field... all are well
described in JAson hunter Book on servlet

Regards
veronique

"LITT Vincent (Neuilly Gestion)" a �crit :

> Hello,
> Does anybody know how to pass a session object created in a Jsp by :
>
>   session = request.getSession( true );
>   session.putValue ("Usr_Name", request.getParameter("user_name") );
>
> In fact I tried the same code in the servlet, but the 2 sessions objects are
> different ...
>
> Any Help is welcome
>
> Vince
>
> ===========================================================================
> 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

Reply via email to