Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8336015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:51:20+00:00 2026-06-09T03:51:20+00:00

Sometimes Spring Security appends a jsessionid to the end of my URL. Wouldn’t bother

  • 0

Sometimes Spring Security appends a jsessionid to the end of my URL. Wouldn’t bother me so much if it happened all the time or never, but it seems almost random. I’m wondering why this is happening and if it has anything to do with remember me not working correctly with LDAP?

http://localhost:8080/myapplication/login/auth;jsessionid=A07D52CB78DB999947F3EED1917D60F6

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T03:51:21+00:00Added an answer on June 9, 2026 at 3:51 am

    JSESSIONID is created by tomcat (or other web container, see docs), it’s not from Spring Security. JSESSIONID is the unique id of the http session, used at situation when application uses session (put/read some data from sesson during request), but there’re no session cookie exists. At this case server trying both ways: setup cookie and append parameter to all links.

    Mostly it’s because:

    • first request from browser (no cookie at all)
    • browser has sent invalid sessionid (for example when server was restarted, and existing session became invalid)

    And during such request session was used on server side (and was created new session).

    PS I’m not sure that it can be related to LDAP auth issue

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All, I am trying to add Spring Security(3.0.7) to my web application(Spring 3.0.6, Tiles
I have a Java program that executes from Spring Qquartz every 20 seconds. Sometimes
Sometimes, I find some class names including Aware such as ApplicationContextAware and MessageSourceAware (spring).
I am writing a web app in Grails with the Acegi/Spring Security plug-in, and
I'm building a webapp with role based access control using Acegi (Spring) security. So
Using Spring 1.2.1 and oracle.jdbc.pool.OracleDataSource 10.2.0.3.0 I sometimes get a stack trace like below.
I'm working on an hibernate Spring Mysql app, sometimes when i make a gethibernateTemplate()get(class,id)
I am using Grails multi-tenant plugin with single-tenant mode. I have used spring security
I'm using custom namespaces with Spring sometimes. Like the CXF one or the ActiveMQ
I am working on some Spring XML configuration files and sometimes they use classpath:/datasource.xml

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.