Erasing History

This is a discussion on "Erasing History" within the JavaScript Forum section. This forum, and the thread "Erasing History are both part of the Program Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Oct 15th, 2006, 02:18
Up'n'Coming Member
Join Date: Aug 2006
Location: Peru
Age: 21
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Erasing History

Hi there:
I was wondering, is there any way to erase the "visited" history on a web page via javascript? Let me explain it a bit, whenever I click on a link, it's marked as "visited", but I don't want it to be marked at all. How can I do this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Oct 15th, 2006, 03:26
Ryan Fait's Avatar
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,787
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Erasing History

JavaScript cannot access files on a computers system, so this is not possible.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Oct 15th, 2006, 03:36
Ryan Fait's Avatar
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,787
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Erasing History

Now that I think about it though, there are other ways of simulating that a user hasn't visited a certain page. If you're using PHP, for instance, these are different pages in the eyes of a browser, but not to your server.

http://yourdomain.com/page.php
http://yourdomain.com/page.php?time=16092924
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Oct 15th, 2006, 04:29
Up'n'Coming Member
Join Date: Aug 2006
Location: Peru
Age: 21
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Erasing History

Let me explain what I'm trying to do. I have a menu with links that link only to pages within my domain. So when a link is accesed, the page is loaded and the link is highlighted. I wanted to do that effect by using a:visited on the css file, but I realized that when a page is visited once it stays like that until your history is errased. I wanted to erase the history, but apparently that's not posible.
By the way I'm using jsp to generate the html and a tag to add the menu, so every page has the same menu, that's why I wanted to do this via css. I think the best solution would be to send an argument to the tag that generates the menu indicating in which page the user is at a current time.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Oct 15th, 2006, 21:04
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Erasing History

Why do actually want to do this?

Indicating to a user where they have been is part of the feedback that most users appreciate, especially if it's a large site.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
history

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
After login: Redirect to page in history (Current - 2)... skuliaxe PHP Forum 4 Feb 20th, 2008 16:54
<title>Tennis London : Tennis History</title> how should it read Oak Search Engine Optimization (SEO) 5 Feb 6th, 2008 01:31
History cleaning development joachim shotter Job Opportunities 1 Oct 30th, 2005 11:20


All times are GMT. The time now is 05:55.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42