Re: [PHP-DB] get or post From: Adv. Systems Design (asd_2000 <email protected>)
Date: 11/14/00

Recently I asked about the problem of the user losing
their input over a form that spans multiple screens if
they hit the back button (because of a post)... Andy
has suggested that I use a temp file to hold the input
and track the user w/cookies until the form is
finished... Does anybody have an example or pointer to
an example of code that I may look at?...

Thanks

Luis

--- Andrew Rush <andy <email protected>> wrote:
>
> On Friday, November 10, 2000, at 04:27 PM, Adv.
> Systems Design wrote:
>
> > Questions: is this due to using a post rather than
> a
> > get form action?
>
> no, this is due to your server delivering a no-cache
> header to the browser when the PHP page is
> requested.
>
> > Will a form GET fix this error?
>
> you don't want to use GET as a form method. it's way
> too easy to spoof (meaning someone can simply change
> the value in the querystring to see something
> different, which you may not want another person to
> see) and a URL has a character limit (256 i think).
>
> i would store the data in a temporary location (like
> a text file) until the sequence is completed and
> then process it to do whatever you intended in the
> first place. if you do this, and track users with a
> cookie, you can then let the user pick up where they
> left off in case of a catastrophic error on their
> end, such as a power failure or browser crash.
>
>

__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>