Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page Expiration
Message
 
To
09/05/2001 12:32:15
General information
Forum:
Visual FoxPro
Category:
FoxWeb
Title:
Miscellaneous
Thread ID:
00505351
Message ID:
00505372
Views:
27
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform