You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by val <va...@anyware-tech.com> on 2001/07/18 11:04:16 UTC
Re: Manual session management
Giorgio Saviane a écrit :
> Hi!
> I'm using Tomcat with a telephone (interactive-voice-recognition)
> client.This client communicates with the servlet via HTTP, and it all works
> well, except for one thing. When I start a new session, Tomcat sends a
> "Set-Cookie" and a "Set-Cookie2" response header, both containing the
> "JSESSIONID=" parameter; the problem is, I can't manage to propagate the
> session in my request, I mean, to make tomcat recognize my request as part
> of the same session. With Allaire JRun, it was sufficient to pass the
> parameter without changes in the GET query string, but I tried this way with
> tomcat, and it doesn't work.
> How can I do it? Of course, my client doesn't support cookies, nor
> is capable of an automatic URL-rewriting... the question is, how can I
> 'fake' it manually?
> Best regards,
> Germano
Hi,
You should try :
<RequestInterceptor className="org.apache.tomcat.request.SessionInterceptor"
noCookies="true"/>
in server.xml file (tomcat/conf)
which will enable url rewriting on your server and disable cookies.