Yes I understood maryna's answer above but I don't want to implement that approach because it will increase the number of database calls and also I will have to call that service on every page of my app and that won't be feasible because the number of pages in my app are very high!
What I meant earlier was that is there any possible way to increase the 120 minutes duration of session expiry? Like make that duration infinite so that I don't have to make so many database calls on so many pages!