--unused-session-lifetime

Hi, I’m new to panel and implementing a web application which need standard session timeout in case of inactivity. I found --unused-session-lifetime which can be set while serving the application.as per my requirement i set it to 30 mins (panel serve app.py --unused-session-lifetime 1800000). But I observed that session is getting destroyed even though I’m continuously interacting with application and making DB read/write activities through web app. now I’m confused how --unused-session-lifetime is determining the session status whether its used/unused. Anyone encountered similar issue and what was the solution move in this case… Any help is greatly appreciated… Thankyou!