Re: Avoiding user refresh of pages with forms

From: Date: Thu, 04 May 2006 12:08:51 +0000
Subject: Re: Avoiding user refresh of pages with forms
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-235480@lists.php.net to get a copy of this message
Also, with regards to sending success/failure messages across the redirection of your forms, I'd recommend considering sessions for passing the data. It keeps your URLs clean, and allows you to send complex data a bit easier (IMHO). For example if a user makes an error on a few different form elements, you can send back an array of messages to the user without having to serialize/unserialize in the ugly URL.
IE has a url length limit, so depending on how many steps you go through you might have issues with it not unserializing properly because the URL gets chopped off... -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#235480) next »