Hi All,
Does anyone have insights on how to programmatically extend an existing AEM session (login-token)? Most of the articles I’ve come across describe creating a new session with a fresh expiry, rather than extending the current one.
I’m aware of the approach that involves updating the expiry time under the .tokens node in /home/users, but since those nodes are read-only, it's not a recommended practice.
Ideally, I’m looking for a cleaner solution that allows extending the session based on user activity. I understand that AEM’s out-of-the-box TokenConfiguration refresh mechanism extends the session once it nears the threshold, but I’d like to trigger the extension proactively based on specific user interactions.
Any suggestions or best practices would be greatly appreciated.
Thanks,
Views
Replies
Total Likes
Thank you @arunpatidar for the response.
I have already gone through them, I have not found any custom way of extending AEM session as per need. I have mostly found suggestions to rely on OOTB TokenConfiguration.
Views
Replies
Total Likes
@Sku4 Did you find the suggestion helpful? If you need more information, please let us know. If a response resolved your issue, kindly mark it as correct to help others in the future. Alternatively, if you discovered a solution on your own, we'd appreciate it if you could share it with the community. Thank you.
Views
Replies
Total Likes
Views
Likes
Replies