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
Solved! Go to Solution.
Hi,
You can just drop the "login-token" cookie.
Jörg
The login cookie is HTTPONLY which means it can't be deleted by Javascript. Any other ideas?
Views
Replies
Total Likes
how to drop the login token cookie?
Views
Replies
Total Likes
How to drop the login token cookie?
Could you please elaborate.
Views
Replies
Total Likes
You might try the approach outlined here: How do you remove a Cookie in a Java Servlet - Stack Overflow
Jörg
Views
Replies
Total Likes