We are maintaining session token in cookies which gets expired every 60 mins. Basically cookie has a expiry of 60 mins. But We have a requirement to show Session timeout popup 5 min before cookie expiry (on 55th min of after cookie got created). But the issue is, we cannot read the cookie expiry in JavaScript. I would like to know if there is any other way to do this in javascript?
This question is not about how to check intervals, but how do we get the cookie expiry?