tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: Tomcat refusing jsessionid's
Date Mon, 27 May 2002 17:33:31 GMT

On Sat, 25 May 2002, tek1 wrote:

> Date: Sat, 25 May 2002 23:45:12 +0900
> From: tek1 <>
> Reply-To: Tomcat Users List <>
> To: Tomcat Users List <>
> Subject: Re: Tomcat refusing jsessionid's
> is it possible for a client to append JSESSIONID=<sessionId> to the url
> (i.e.
> and still use the POST method, or is the usage of GET mandatory?

Sessions work just fine with both GET and POST -- but they are guaranteed
to fail if used in the manner you described above.  The reason for this is
that session ids are *path* parameters, not *query* parameters.  In
addition, the parameter name is "jsessionid" instead of "JSESSIONID".  Try
something like this instead:;jsessionid=A4A0314540585318A4F5E327F1457375

(Note the semicolon rather than the question mark).

See the servlet specification
( and the relevant RFCs
about URL syntax, to understand the differences.

> thanks.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message