Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Re: Preventing a user from returning to previous page - June 11, 1998 at 15:02:11

You are here: irt.org | BBS | Re: Preventing a user from returning to previous page [This BBS is closed]

Posted by Martin Webb on June 11, 1998 at 15:02:11:

In Reply to: Preventing a user from returning to previous page posted by Chris Woyton on June 11, 1998 at 14:54:24:

Try using the locations replace method. Instead of:

location.href = 'nextpage.html';

use:

location.replace ('nextpage.html');

To ensure it works correctly on browsers that don't support the replace () method, code it as:

if (document.images)
location.replace ('nextpage.html');
else
location.href = 'nextpage.html';
Follow-ups:

You are here: irt.org | BBS | Re: Preventing a user from returning to previous page [This BBS is closed]

©2018 Martin Webb