I want to disable updateAge for session expiration
I have two queries
1. I dont want the session expiration to be extended automatically with
updateAge
. I want the session to be only extended when the session is used.
2. i want the to keep the session alive/extend for just a specific page, so i was thinking of creating a dummy api and keep hitting it at interval to keep the session active if 1 is acheived. lmk if there is a better way.2 Replies
@bekacru is this possible?
one idea i have to achieve 1 is to set the updateAge > expiresIn
Hey @preAGIcoder !
I landed on this post after looking for a solution to the exact same issue. Was wondering if you managed to figure out a way to achieve this?