My site is built with 2 frames:
frame a: a menu
frame b: pages that change according to selections in the menu or according to actions in frame b.
Up to now, this sequence worked well:
1. Typing domain.com as the adress displays both the menu and the "home" page
2. Clicking on Login in the menu gets the Login page in frame b
3. Entering username and password brings a Search page in frame b, including a button to buy a subscription
4. Clicking on the subscription button gets the fee page in frame b, with a buy button
5. Clicking on the buy button gets the user coordinates page in frame bwith a pay button
6. Clicking on the Pay button gets a confirmation page in frame bwith a Goto to secure payment server button
7. Clicking on the Payment server button gets the payment page (https
:...) in frame b with credit card number, ... and a Process button
8. Clicking on the Process button with a wrong expiration date gets the Refusal page in frame b. That page is POSTED by the payment server
9. Clicking on the Back to origin button on the Refusal page gets the Search page in frame b through a history.go(-5) command.
It worked well except for one thing: people didn't see the security lock nor the https address when they got the Payment page. Some customers backed off because they feared the payment site was not secure.
To correct that, the payment page is now displayed full screen, using TARGET="_top" to get it over the 2 frames.
THE PROBLEM: in step 9, clicking on the "Back to origin" button gets the user back to:
-frame a: the menu (OK)
-frame b: the "home page" (WRONG)
If the user uses the browser's "Back" button, the page doesn't change. By selecting the "Payment page" in the history, the user gets it, and fromt there on he can click on the browser's Back button 4 times to get the Search page in frame b.
Why is this and do you know a way to solve it? I have to use something like history.go(-5) because there are many pages from which the user can get into a buying sequence, and I want him to go back to where he was, whatever that may be.