tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Moore <JohnMo...@PDSI-Software.COM>
Subject RE: ;jsessionid not working
Date Fri, 04 Jan 2002 17:55:20 GMT

you are trying to get to something that looks like
http://host/app/myfile.jsp;jsessionid=x19293921?lhs=rhs.   The response
object has a encodeURL( String url ) operation that returns a formatted url
with the jsessionid added if cookie support is turned off.

-----Original Message-----
From: Sylvain Hamel [mailto:sylvain@webnet.qc.ca]
Sent: Friday, January 04, 2002 9:41 AM
To: Tomcat Users List
Subject: Re: ;jsessionid not working


a short example would be appreciated...

----- Original Message -----
From: "John Moore" <JohnMoore@PDSI-Software.COM>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
Sent: Friday, January 04, 2002 12:40 PM
Subject: RE: ;jsessionid not working


>
> You should be using the url encoding to get the session id.  Also I'm
pretty
> sure that the ;jsessionid needs to come before the ?.
>
> John
>
> -----Original Message-----
> From: Sylvain Hamel [mailto:sylvain@webnet.qc.ca]
> Sent: Friday, January 04, 2002 9:34 AM
> To: tomcat-user
> Subject: ;jsessionid not working
>
>
> OS : win98
> TOMCAT : 3.2.3
>
> I cant seem to use a path sessionid for a non-cookie enable browser.
> here is an example url that get sent to tomcat
>
> http://sylvain:9090/wap/menunewtask.jsp?;jsessionid=2w84ctnex1
>
> the sessionid is obtained like this :
> <%= session.getId() %>
>
> In order to debug this I added the following lines to the header.jsp file
> that all my pages include :
>
> //---------------
> Date dateHeader = new Date();
> System.out.println(dateHeader.toString() + " SessionID : " +
> session.getId());
> //-----------------
>
> A call to menunewtask will result in a new session id.
>
> What am I doing wrong???
>
> Sylvain
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message