Welcome to WebmasterWorld Guest from 54.167.5.15

Forum Moderators: open

Message Too Old, No Replies

Javascript and History manipulation

History Object in Javascript

     

iPounder

7:49 pm on Jun 8, 2003 (gmt 0)



I know that in Javascript you can use the history object for going back and stuff
history.go(-1);
BUT what I want to know that is there a way to get Javascript to remove a page from the browser's history so when you go to the history you won't see the site. I need this for a security feature on my site.

If not in Javascript does anyone know of any other way to do it?

Thank you.

korkus2000

9:45 pm on Jun 8, 2003 (gmt 0)

WebmasterWorld Senior Member korkus2000 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



location.replace('nextpage.html') will remove the current page from the history for the page you are requesting.

ShawnR

12:33 am on Jun 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



"...I need this for a security feature on my site. ..."

Welcome to WebmasterWorld, iPounder!

Korkus is right, but I just thought I'd add: Don't rely on Javascript for security.

Shawn

 

Featured Threads

Hot Threads This Week

Hot Threads This Month