Remove History Item in code

evildmguy

Explorer
Greetings!

Okay, I know this can be done because I see web pages doing it all of the time but I can't find it in any documentation, book or help files, that I have.

I have a web page that redirects twice. Therefore, my boss thinks the Back key is broken because she only presses it once and it doesn't go Back but instead it returns her to the page she was viewing. (That's a long SIGH that I don't want to get into right now.) What I was thinking I could do to solve that is to remove them from the history object.

Does anyone know how I would do this? Is it the history object or something else? I know it is possible because when I log into yahoo, it erases the login page from the history and I can't press Back! I don't know how it is done, though.

Any help, or pointing in the right direction, would be appreciated.

Thanks! Have a good one!

edg
 

log in or register to remove this ad

Remove ads

Top