Redirecting and get length problems
| From: | Chris W | Date: | Wed, 07 Jan 2004 22:56:26 +0000 |
| Subject: | Redirecting and get length problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-174015@lists.php.net to get a copy of this message | ||
In this application I am working on, if there is a problem with the data, I use a redirect to go back to the form and send the data with an error message in a get. That way the user doesn't need to retype everything. Most errors can be caught with java script before they post the form but not all. 3 of the fields in this form are to store various URL's so if they are long URL's it is easy to see how I could go over the limit of the max url length. So my question is what is the best alternative? Is there a way to redirect and use a post instead of a get to send the data? The only other Idea I have is to put the information in a temporary table and just send a get with the key for the record in the table.
Chris W