Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Regarding AEM 6.1 User Logout Code

Avatar

Former Community Member

I have created user in AEM that user credential through successfully login in out of box login component login form. All coding done in JSP/JavaScript 

I want user logout functionality coding. Please share user logout code in JSP/JavaScript.

 

Thanks in Advance 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

You can just drop the "login-token" cookie.

Jörg

View solution in original post

5 Replies

Avatar

Correct answer by
Employee Advisor

Hi,

You can just drop the "login-token" cookie.

Jörg

Avatar

Level 1

The login cookie is HTTPONLY which means it can't be deleted by Javascript. Any other ideas?

Avatar

Level 1

how to drop the login token cookie?

Avatar

Level 1

How to drop the login token cookie?

Could you please elaborate.