![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, ist it possible to mark a HTML-page not to be pushed into the browsers history list (so that you can't go back i.e. via the Browsers Back-Button)? May be there are some <META>-Tags for doing that?? Or some Javascript-Statements?? The background is that I implemented a little Perl script for editing a (very ) simple database. And I want to prevent that the user goes back and recalls pages with earlier entries he made... Is that possible via HTML ? Thanks in advance Chriastian |
#3
| |||
| |||
|
|
ist it possible to mark a HTML-page not to be pushed into the browsers history list. |
|
The background is that I implemented a little Perl script for editing a (very ) simple database. And I want to prevent that the user goes back and recalls pages with earlier entries he made... |
#4
| |||
| |||
|
|
Hello, |
|
ist it possible to mark a HTML-page not to be pushed into the browsers history list (so that you can't go back i.e. via the Browsers Back-Button)? May be there are some <META>- Tags for doing that?? Or some Javascript-Statements?? The background is that I implemented a little Perl script for editing a (very ) simple database. And I want to prevent that the user goes back and recalls pages with earlier entries he made... Is that possible via HTML ? |
#5
| |||
| |||
|
|
3. When a user updates the database add a timestamp indicating when the database was last updated, and in each instance of an update form place a hidden field with the same timestamp value in it. When the client submits a form compare the timestamp in the submitted form data to the timestamp in the database. If the form timestamp is the same as the database timestamp it is safe to update the database as no other updates have occurred between the time the client fetched the initial form webpage and the time it was submitted. If the form timestamp is younger than the database timestamp then the data has been updated in the intervening period (either by someone else, or by the same client submitting a form and the going back in their history to an older version of the form). In this case send the submitted data back to the client, repopulate the form as it was before submission and write out the newer data as 'plain text' with an appropriate explanation so he or she can see both what was submitted and what the database was updated with. The user can then decide whether to quit now and keep the data as it stands in the database, submit their original data again or edit their submission to account for the changes. There are other ways to implement this, but you get the idea. This third option provides a much more robust mechanism. |
![]() |
| Thread Tools | |
| Display Modes | |
| |