Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page Expiration
Message
De
29/05/2001 21:13:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxWeb
Titre:
Divers
Thread ID:
00505351
Message ID:
00512479
Vues:
12
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform