Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page Expiration
Message
 
À
09/05/2001 12:32:15
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxWeb
Titre:
Divers
Thread ID:
00505351
Message ID:
00505372
Vues:
26
This message has been marked as a message which has helped to the initial question of the thread.
>Has anyone figured out to get the Page Expiration thing to work? I have problems when users are allowed to update data, then push the back button and go back to previous data states, which don't jive with saved data. I would like users to get a Page Expiration notice when they try to go backwards, but since this is the web, I have no way of how they got to a page, by legitimate means or otherwise.

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.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform