Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page Expiration
Message
From
29/05/2001 21:13:34
 
General information
Forum:
Visual FoxPro
Category:
FoxWeb
Title:
Miscellaneous
Thread ID:
00505351
Message ID:
00512479
Views:
11
Hi Bret,

I have a small in-house inventory ordering html app. I saw the code below you posted and I put in the last page of the ordering process. I call this page the Order Confirmation Page and it that shows the user what they ordered, and gives them an order # so that they can refer to it later. They get to this page from a page I call the "Submit Order Page"

I don't want the user to hit the back button and be able to submit the order again and expiring the page has not worked flawlessly.

So I put the following code in and I think I must have done something wrong because as soon as they hit the Submit button on the "Submit Order Page", instead of sending them to the "Order Confirmation Page" which gives them the info above that I just mentioned, it automatically launches them to the PagetoGoto.htm page that I specified in the javascript.

What am I doing wrong here? Thanks. -Rick


>The Java code to remove a page from history is:
>
>< SCRIPT LANGUAGE="JavaScript">
> self.location.replace('PageToGoTo.htm’) ;
>< / SCRIPT>
>
>This will replace the current page they are on in the history with the page they need to go to. Thus a Back would not get them back to the data page.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform