• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • Last Modified:

Removing History Stack Entry

On a non cookie login sessions how can I implement a way in which a user when he/she clicks a link to logout I will remove also the history stack entries on the browser so that the are no dangers of someone coming and view all the pages and areas visited by the first user?
0
crush_Of_Hearts
Asked:
crush_Of_Hearts
  • 2
1 Solution
 
jhurstCommented:
You can not.    For a particular browser you may be able to, but you have no idea what browser the user is using, and there is no standard "clear history".  You could sort of do it by flooding the history with other pages by setting up pages that called other pages from JavaScript or Meta Refreshes but this would probably annoy people a great deal and may not even work.

Remember that even without cookies, if the pages are protected by the User/Name password authentication method they will not, or at least should not, be available if you de-authenticate, which is done by setting a bad authentication response.
0
 
crush_Of_HeartsAuthor Commented:
can't i access the history object if javascript and have a code to clear it, or at least have a way of not stacking the pages in the history least at all?
0
 
crush_Of_HeartsAuthor Commented:
Thats a comprehnsive answer since am a at this CGI thing how can I de-authenticate i.e how can I send bad auth. response can i have a detail on that?
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now