In this case you have to save last visited page url on the session.
HttpApplication.BeginRequest Event fires whenever user request page. Even this is the first event which fires once user request the page.
Inside this event you can check if the last page is your page and current page is not equal to last page, you can clear session.
Session["Session_name"]=null;
Thanks