[PHP] PHP cached data when using browser back button
Hi All, How can I prevent the browser from sending in cached data after the user pressed the 'back' button and re-inputted data. Eg: Originall I enter 3 isbn numbers, submitted it, then the user presses the 'back' button to re-input 1 new data and then re-submits the data, instead of only having the 1 new data, I get the 1 new data + 3 old data. Can anyone help explain this? (if I were to clear the browser's cache, then there's no problem.) Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP cached data when using browser back button
On Jun 25, 2003, Ow Mun Heng claimed that: |Hi All, | | How can I prevent the browser from sending in cached data after the |user pressed the 'back' button and re-inputted data. | |Eg: Originall I enter 3 isbn numbers, submitted it, then the user presses |the 'back' button to re-input 1 new data and then re-submits the data, |instead of only having the 1 new data, I get the 1 new data + 3 old data. | |Can anyone help explain this? (if I were to clear the browser's cache, then |there's no problem.) | |Cheers, |Mun Heng, Ow |H/M Engineering |Western Digital M'sia |DID : 03-7870 5168 | |-- |PHP General Mailing List (http://www.php.net/) |To unsubscribe, visit: http://www.php.net/unsub.php | http://marc.theaimsgroup.com/?l=php-generalm=105613536620953w=2 -- Registered Linux user #304026. lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this message should conform to RFC 1855. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP cached data when using browser back button
Ow Mun Heng wrote: Hi All, How can I prevent the browser from sending in cached data after the user pressed the 'back' button and re-inputted data. Eg: Originall I enter 3 isbn numbers, submitted it, then the user presses the 'back' button to re-input 1 new data and then re-submits the data, instead of only having the 1 new data, I get the 1 new data + 3 old data. Can anyone help explain this? (if I were to clear the browser's cache, then there's no problem.) This has been discussed a million times. Check the archives. -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php