Why jsessionid is appended to each url?

14,608

Fixed in Spring Security 3 https://jira.springsource.org/browse/SEC-1052

Share:
14,608

Related videos on Youtube

sword101
Author by

sword101

Updated on June 04, 2022

Comments

  • sword101
    sword101 about 2 years

    I am deploying an app using the Spring framework on the Apache Tomcat. When running the application from Tomcat directly, there's no jsessionid appended to any URL at all, but after mapping the application to the domain, and trying to run it, I got a jsessionid appended to each URL in the application. I tried the Spring security attribute disable-url-rewriting but it doesn't work; it removes the jsessionid from the URL but the application doesn't work any more and the user cannot login.

    So I guess it's another problem. Any ideas why this happens or how to solve it?