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.
Was this page helpful?