AEM 6.5 login-token 404 issue | Community
Skip to main content
July 25, 2022
Solved

AEM 6.5 login-token 404 issue

  • July 25, 2022
  • 2 replies
  • 1233 views

Hello!

 

I'm facing an issue in AEM 6.5. When an user logins to the site everything is working fine, but after a while, the session expires but the login-token cookie session still exist in the browser, causing the user to get 404 (because they are basically an anonymous user attempting to view a page).

 

Is there a "best way" to solve this kind of issues? I've read in the forum sticky sessions in the load balancer or dispatcher, creating a node in the config, but I don't know if I may be missing something that could help me out in this issue.

 

Thank you in advance!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Tushar_Gupta

IMO Sticky Session will not work in this case.

Either you need to refresh the authentication token before it expires or you need to gracefully logout the user may be you can redirect the user to homepage once session expires using JS/Jquery this is possible. 

2 replies

Adobe Employee
July 25, 2022

is this going through a load balancer or using saml?

There is a way to extend the login token time to something really long but would like to know if something else is timing out

Chris089Author
July 25, 2022

It's using a load balancer, multiple publish with a dispatcher per publish

Tushar_GuptaAdobe EmployeeAccepted solution
Adobe Employee
July 26, 2022

IMO Sticky Session will not work in this case.

Either you need to refresh the authentication token before it expires or you need to gracefully logout the user may be you can redirect the user to homepage once session expires using JS/Jquery this is possible.