0

I have 3 web projects(Java) M1 M2 and M3. I am sending request and getting response using HTTP POST request.

I am trying to implement Single Sign-Off. If I logout from one application then rest of application automatically got logoutted.

I tried with session ids but its not working, Because HTTP Post session less. Here is my code:

HttpSessionContext sc = request.getSession().getSessionContext();
HttpSession session = sc.getSession(sessionId);
session.invalidate();

Using above code I am getting session object of application and invalidate them.

Avinash Mishra
  • 1,346
  • 3
  • 21
  • 41

0 Answers0