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 8539187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:18:16+00:00 2026-06-11T11:18:16+00:00

Hi I want to keep same session between two different application which are running

  • 0

Hi I want to keep same session between two different application which are running on 2 tomcat servers. I have one application running on one server for which one session is created while logging in . If I click a link on the application, it will be redirected to second application on another tomcat server. At that time, it should maintain the same session which is in the first server. After that if it returns to the application in the first server, it should not ask for authentication again. It should use the same session.

Is there any way to pass the session ID or details between the 2 tomcat servers in JSP.

Can anyone help.

  • 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-11T11:18:17+00:00Added an answer on June 11, 2026 at 11:18 am

    I think you might want a SSO (Single Sign-On) solution. So here are these which are available for free and some open source:

    1. Open AM (previously Open SSO)
    2. JOSSO (Java open Single Sign-On)
    3. CAS (Central Authentication Service)

    You can also build some custom security in both these web-applications using Servlet filters following the approach as mentioned here.

    Note: Go for the custom solution (it would be a pain but a good learning ;-)) only if you don’t want to use any of the SSO solutions; I will suggest not to Reinvent-the-wheel due to the reasons given here)

    Hope this helps.

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

Sidebar

Related Questions

I have this array in PHP session, which I want to step through one
I have link for example domain.com/de/controler/action?param=value and I want make actionlink to keep same
i want to keep my app in sync with the Server. The communication between
I have a Java web application which stores some data in the session. The
I have two applications running on different domains: webformapp.com mvcapp.com webformapp.com has an iframe
Using the code below, I want to keep the same menu div opened in
I want to keep tabs on the number of concurrent users of my application.
I want to keep backup of my database and import it into different System?
We have a couple of Java Web applications that serve different purposes (one for
i am fairly new to rails and want to keep the url the same

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.