hi friends
I have login in my application.In every page I am checking Session["UserId"] is null or not.If null I am redirecting to Login page.But when user clicks on browser back button it redirects to previous page and it giving object reference error.
So how to prevent this when user clicks browser back button after logout it should display only login page.
Thanks in advance