Hi,
I don't know how to handle this. I have two servlets which both use sessions
persistence engine. One must use cookies because with multipart forms, jrun
stores the session identifier into the resquest parameters, ie in an object
it cannot access. But for another servlet, my need is to handle the session
without cookie. The main reason is that I want to allow the same browser to
be logged in n-times in different parts of the site, with differents
sessions. The simpliest way is to use url rewriting in this part. But if I
use a cookie for this purpose, all the sessions will be melted (or am I
wrong ?)
Is there a way to specify when creating a session that I want it to be
identified by a cookie or by the url ? Another solution could be to separate
the two servlets into two servers, one handling session with cokkies, the
other not, but this wold definitly be my last choice, because even if it is
not stricto sensu the same application, it deals with the same db
ressources.
Computers are like air conditioners - they stop working
properly when you open Windows
UNIX _IS_ user friendly. It's just selective about who its friends are.
"If Bill Gates had a nickel for every time Windows crashes... Oh, wait! He
does!"
______________________________________________
Sylvain Roche
Responsable d�veloppement
Add-Online
www.add-online.fr
80 rue d'Alsace
69100 VILLEURBANNE
France
tel : +33 437431260
fax: +33 437431269
===========================================================================
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