|
Comments for: clark20030702
| Message # 1016902: |
|
Date: 07/08/03 11:22
By: sbarnum Profile Subject: Alternate suggestion You could also track the current page count in the session, which is incremented for every page view. Include a hidden variable in the form with this value, and on the form processing page, compare the hidden pagecount with the session pagecount. If the difference between the 2 is greater than 1, you know it's a resubmit, either from reloading the form process page, or from pressing 'back' and resubmitting the form. The advantage of doing it this way is it avoids trashing your entire session (which probably has some other useful info), and it works for users who hit reload and re-post the form. And you don't need to hope the user's browser supports must-revalidate cache control headers. |
Previous Message | Next Message |
| Comments: | ||
| RE: page expire | Sunit Singh | 12/06/04 04:59 |
| page expire | Thomas | 10/09/03 08:44 |
| Thanks all! | Joe Clark | 09/05/03 22:38 |
| very good session technique | suneel kanuri | 07/23/03 01:52 |
| Sweet | Psychomantum | 07/17/03 18:07 |
| Sessions | Daniel | 07/09/03 10:51 |
| Alternate suggestion | sbarnum | 07/08/03 11:22 |
| A simpler way to prevent this sort of thing.. | terry chay | 07/03/03 10:26 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


