
Originally Posted by
2ndmouse
Sorry to resurrect this one and I hope I'm not being too simplistic here, but I got round this problem by providing the user with their very own 'Back' button, which POSTs all the required data back to the form page.
Works a treat.
The best thing to do, would probably be to redirect after POST:
PHP Code:
headerl('location: original_form.php');
That way the user is provided with a GET page, and if they hit back, they go back to the original GET without resubmitting or expiration.
Also- POST should generally be used when you're writing to the database, or making some other change-- you should normally use GET when retrieving a list of records.
Cory
Bookmarks