Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Firefox back button takes me back 2 pages.

Thread Tools

Firefox back button takes me back 2 pages.

Useful Info
Posts: n/a
Hi all,

I have a Firefox problem.

I have 3 pages:
page 1 uses an <A> tag to get the user to page 2
page 2 uses Javascript to set the location.href to get the user to
page 3
page 3 is the destination page and the user will press Back from

When the user presses the Back button from page 3 in IE, IE goes back
to page 2, as desired.

When the user presses the Back button in Firefox however,
the browser bypasses page 2 entirely and goes to page 1.

I've tried setting "location.referer" in page 2 so that
FF would be forced to go there, to no avail. Wrong variable?

How to ensure that FF goes to page 2?

Thanks for any help.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IE vs Firefox Button Disabled On Back Button Click Issue Javascript 0 08-01-2006 04:04 PM
Re: Firefox starts, then takes up entire screen - bug? Leonidas Jones Firefox 0 09-19-2005 12:47 PM
Control where 'Enter Button' takes you =?Utf-8?B?QUNhdW50ZXI=?= ASP .Net 3 02-09-2005 03:56 PM
Enter Button Takes You to HomePage =?Utf-8?B?TXJNaWtl?= ASP .Net 3 01-07-2005 04:10 PM
disable the back button provide the users with my own button to go back. sylvia sil ASP .Net 1 12-29-2004 04:41 PM