How to make HTML page NOT to be included in window.history()?

C

contactabbas

Hi Gurus,

How can I make an HTML page NOT to be included in window.history()?

My requirement : Suppose the user navigates from :
Page A --> Page B --> Page C and presses a browser "Back" btn while on
page C, s/he should be taken back to page A (not page B). So, I should
tell that I donot want to store page B in window.history(). How can I
do this?

Thanks, Abbas
 
M

Mick White

Hi Gurus,

How can I make an HTML page NOT to be included in window.history()?

My requirement : Suppose the user navigates from :
Page A --> Page B --> Page C and presses a browser "Back" btn while on
page C, s/he should be taken back to page A (not page B). So, I should
tell that I donot want to store page B in window.history(). How can I
do this?

Thanks, Abbas

location.replace(url)

perhaps?
Mick
 
R

Randy Webb

(e-mail address removed) said the following on 11/28/2005 12:57 PM:
Hi Gurus,

How can I make an HTML page NOT to be included in window.history()?

Don't open it.
My requirement : Suppose the user navigates from :
Page A --> Page B --> Page C and presses a browser "Back" btn while on
page C, s/he should be taken back to page A (not page B). So, I should
tell that I donot want to store page B in window.history(). How can I
do this?

document.location.replace() and then deal with it if JS is disabled.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top