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:40:30 GMT

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>

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