Re: [solved] url rewrite removing the ;jsessionid= from the url

Splash Forums PrettyFaces Users [solved] url rewrite removing the ;jsessionid= from the url Re: [solved] url rewrite removing the ;jsessionid= from the url

#19978

So, enabling this functionality in PrettyFaces actually requires a modification to be made. The JSessionID will always be appended in the URL because the prettyfaces rewritten URL is passed to the container after the rewrite occurs. This means that jsessionid is appended after rewrite rules are processed.

See related source code in PrettyFacesWrappedResponse

In effect, you can remove JSessionID from inbound URLs, but with the current configuration, not from links. I’ve been debating this functionality, but it would add a level of complexity that I’m not sure is a good thing.

Opinions welcome.