[thelist] JavaScript: the Back Button

Tab Alleman Tab.Alleman at realmetros.com
Mon May 13 12:38:01 CDT 2002


Well it would be great if I could do this AND populate the form object
with the variables that my hidden script generates, but near as I can
tell I can't.

I'm starting to think that I'll have to do something like this in the
hidden script:

IF ICameFrom = Page3 THEN
	GoTo Page1
ELSE
	ProceedAsNormal
END IF

Am I missing any dangerous pitfalls with that approach?

-----Original Message-----
From: kevin D. white [mailto:simplecypher at bitshift.ws]

Have you tried using "location.replace(foo)"?  It replaces the last
entry in
the Browser History object with the new page.  So people will never hit
your
hidden pages because the History entry has been overwritten with new
page
entry.




More information about the thelist mailing list