Clear Browser History List

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

A user logs into a web site. He is then redirected to a web page of his choosing - based on menu options - for example: "WeeklyReport.aspx" is a page the user is currently viewing

If the user session times out, I redirect the user to a "logoff.aspx" web page that now informs the user he must relogin to the web site

Question: Is there anyway to clear the browser's history list (prior to Response.Redirect("logoff.aspx") - to ensure the user can't depress the "back" button to return to the page where the timeout occurred

If this is not possible - what if after I detect the session timeout - Is it then possible to close the current browser where the timeout occurred - and open a new browser with "logoff.aspx" information - How would I do this?
 
You can't clear the user's browser history - that is outside of the scope of
the permissions that a web application has granted. What you can do is
explicitly check on each page whether the user is logged in, and if not do a
response.redirect.
 
Back
Top