Re: handling a user pressing browser's back button
| From: | James | Date: | Tue, 26 Apr 2005 21:45:34 +0000 |
| Subject: | Re: handling a user pressing browser's back button | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213965@lists.php.net to get a copy of this message | ||
Ok Greg:
I changed everything to GET and it's behaving better! Thanks.
I guess when the user clicks the back button they should just get back the last state of the browser...no if, and or but's.
-James
At 1:59 PM -0500 4/26/05, Greg Donald wrote:
On 4/26/05, James <jtu@esidesign.com> wrote:-- -James Tu ----------------------------------- ESI Design 111 Fifth Avenue 12th floor New York, NY 10003 (212) 989-3993 ext. 357 (212) 673-4061 (fax) -----------------------------------What have people done in the past to deal with states and such and keeping these things straight when the user hits the BACK button?Use GET instead of POST for your form method. And if you need both methods just handle the incoming requests from the $_REQUEST array. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php