You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vinuth Madinur <vi...@gmail.com> on 2008/08/29 12:59:59 UTC

Jsessionid as path embed or query parameter.

Hi,

There have been lots of questions related to jsessionid in the forum,
but I couldn't find information about this.

Currently tomcat adds jsessionid as a path parameter. But there are
some http clients that do not understand such URLs. The VXML
interpreter that is used in our company does not.

So, is there a way to manage jsessionid url rewrite to have something
like below?

As a path embed:

http://domain/context/servlet/AEGH12SEWF33RFFSF?queryparam1=v1

Or as a query parameter:

http://domain/context/servlet?jsessionid=AEGH12SEWF33RFFSF&queryparam1=v1


Is it possible to pass around sessionid in this way?


Thanks in advance,
Vinuth.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Jsessionid as path embed or query parameter.

Posted by Mikolaj Rydzewski <mi...@ceti.pl>.
Vinuth Madinur wrote:
> So, is there a way to manage jsessionid url rewrite to have something
> like below?
>
> As a path embed:
>
> http://domain/context/servlet/AEGH12SEWF33RFFSF?queryparam1=v1
>
> Or as a query parameter:
>
> http://domain/context/servlet?jsessionid=AEGH12SEWF33RFFSF&queryparam1=v1
>
>
> Is it possible to pass around sessionid in this way?
>   
I believe one can implement its own version of 
HttpServletResponse#encodeURL and wrap original response in a filter.


-- 
Mikolaj Rydzewski <mi...@ceti.pl>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org