On Sun, 20 May 2007, Bogdan Lucaciu wrote:

On Sunday 20 May 2007 22:58:26 Dave Rolsky wrote:
A couple problems. The biggest is that besides messages, I also pass along
the submitted form data, so the form can be displayed with what the user
submitted. That won't fit in a query string in many cases.

if the post is handled by /order/new I usually redirect to /order/15 with the
flash message. I think there's plenty of room in the URL for the
altered/created object's primary key

Yes, that's what I do too.

I was talking about the case where the form submission _fails_, and you want to send the client back to the form, show them 1+ error messages, and re-populate the form with the data they submitted. That may not fit in a query string in many cases.


-dave

/*===================================================
VegGuide.Org                        www.BookIRead.com
Your guide to all that's veg.       My book blog
===================================================*/

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to