I had success with setting <tracking-mode> to COOKIE in my web.xml.

Otherwise, if you want to do this with a filter, you'll have to make sure
your filter is installed at the correct place in the filter chain so that
it sees this to remove it.  If you can't make any headway on where to place
it, I can probably take a closer look today.

-josh


On Thu, Nov 14, 2013 at 7:49 AM, Albert Kam <[email protected]>wrote:

> Hello, i'm currently using the latest stable version of Apache Shiro.
>
> Everything has been working fine, until i want to remove ;JSESSIONID=xxx
> from the url after successful login.
>
> I tried suggestion here, by creating a filter that is making use of a
> wrappedResponse, and register it into my web.xml, but still failing.
>
> Has anyone here successfully done this before ?
>
> Thank you,
> Albert Kam
>
> --
> Do not pursue the past. Do not lose yourself in the future.
> The past no longer is. The future has not yet come.
> Looking deeply at life as it is in the very here and now,
> the practitioner dwells in stability and freedom.
> (Thich Nhat Hanh)
>

Reply via email to