Use and test against session.cookie.expires instead of private property session.cookie._expires