Don't rely on the browser to hold form values.  Rather, redisplay the form with the 
value attribute populated.

----- Original Message -----
From: "E. Keith Dodd" <[EMAIL PROTECTED]>
Date: Monday, November 18, 2002 10:44 am
Subject: Forms *sometimes* not holding info in MX

> (my first posting ever on CFTalk)
> 
> Using a traditional html form for several uses, such as guest 
> book. After
> submitting to a processing page, do some error handling, noting 
> any missing
> or conflicting data, user to go back and fix/complete form. The usual
> process.
> 
> Locally, on singleIP development server (MX), all is fine; go back 
> and form
> fields hold any existing data the way they should.
> 
> On remote, shared MX server, however, have mixed results. In a 
> couple places
> this works just as expected. In most, however, when go back to 
> form (back
> button), all earlier data is gone. (Note: If try to go forward 
> then to the
> error handling message, get notice that page has expired--that doesn't
> happen in situations where form behaves properly.)
> Behavior seems to be browser independent (IE 6 and Netscape 6).
> 
> Tried putting the identical templates on two different mx sites in 
> a couple
> of places (sites are one same server)
> 
> (Does not work means, form data missing when go back using back 
> button and
> shows page has expired if try then to go forward)
> 
> 1. On one site, form does NOT work as expected regardless of directory
> 2. On another site, if at root level (www.abc.com/testform.cfm), 
> it does NOT
> work;
> 3. however at same site, if in a sub directory
> (www.aabc.com/mydirectory/testform.com), it does work as expected.
> 4. As a control, used same templates at root level and subdirectly 
> on a CF5
> machine, and all works fine.
> 
> As stated, all works fine locally, but problems on the remote, shared
> server. CF guy at hosting service can't see what could be causing this
> behavior.
> 
> I don't have the foggiest idea of where to even begin looking to 
> solve this.
> And it seems more likely that it has something to do with remote 
> server or
> mapping than my code.
> 
> Appreciate any suggestions.
> 
> Searched the archives, but couldn't find anything about this.
> (Search wasn't in vain, however. From a Ray Camden response, found why
> serializing a form, via WDDX, was giving me only a random 10 
> fields rather
> than all. Ray's response was a known MX bug, and to work around 
> duplicatethe form first. THANKS Ray!)
> 
> Keith Dodd
> 
> 
> -
> [This E-mail scanned for viruses by declude AntiVirus Software]
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to