Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Duplicate jsessionid in cookies

LASSIEGE Hugo

2007-07-10

Replies:

Hi,



I trace the request between client and server and I see that the
jsessionid is set twice. Here is the trace :





Request :



POST /appli/server/servlet/appliservlet HTTP/1.1



Content-Type: text/xml; charset=ISO-8859-1



connection: keep-alive



Cache-Control: no-cache



Pragma: no-cache



User-Agent: Java/1.5.0_09



Host: neptune:8084



Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2



Content-Length: 86









Response :



HTTP/1.1 200 OK



Server: Apache-Coyote/1.1



Connection: Keep-Alive



Cache-Control: no-cache



Cache-Control: no-store



Cache-Control: private



Expires: 0



pragma: no-cache



HTTP-Version: HTTP/1.1



Set-Cookie: JSESSIONID=6B5EA29A87F6D84C44BA15FCD307BF2E.MIDDLEWARE1;
Path=/appli/server



Set-Cookie: JSESSIONID=6B5EA29A87F6D84C44BA15FCD307BF2E.MIDDLEWARE1



Content-Type: text/xml;charset=ISO-8859-1



Transfer-Encoding: chunked



Date: Tue, 10 Jul 2007 08:37:37 GMT







Request :



POST /appli/server/servlet/appliservlet HTTP/1.1



Content-Type: text/xml; charset=ISO-8859-1



connection: keep-alive



Cache-Control: no-cache



Pragma: no-cache



User-Agent: Java/1.5.0_09



Host: localhost:8084



Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2



Content-Length: 76



Cookie: JSESSIONID=6B5EA29A87F6D84C44BA15FCD307BF2E.MIDDLEWARE1;
JSESSIONID=6B5EA29A87F6D84C44BA15FCD307BF2E.MIDDLEWARE1





Anybody have ideas about this problem and how to solve it ?










CONFIDENTIALITY:  This email (including any attachments) may contain
confidential, proprietary and privileged information, and unauthorized
disclosure or use is prohibited. If you received this email in error,
please notify the sender and delete this email from your system. Thank you


CONFIDENTIALITE: Ce courrier electronique (pieces jointes incluses) peut contenir des informations confidentielles, proprietaires et privilegiees,
dont la divulgation ou l'utilisation non-autorisee est interdite.
Si vous avez recu ce courrier electronique par erreur, nous vous remercions de bien vouloir avertir l'expediteur et detruire ce courrier electronique
de votre systeme.
Merci.


©2008 junlu.com - Jax Systems, LLC, U.S.A.