Thanks Bobby, Just tried that, same result. Cheers, Kris
On Sun, Jun 20, 2010 at 4:59 PM, Bobby Hartsfield <bo...@acoderslife.com> wrote: > > Have you tried: /?#cgi.query_string# > > > I know this isn't CF-specific, but was wondering if anyone has a way > around this. Trying to avoid specifying the script name in the form > action, and IIS isn't happy about that when using method=post. Works > fine with get. > > index.cfm is declared as default document for the directory. From what > I've read this is a long-standing issue with IIS (no script name in > form action, method=post, default document is not called). > > Form looks something like this: > <cfoutput> > <form id="searchLocation" name="searchLocation" method="post" > action="?#cgi.query_string#"> > <input type="text" name="currentLocation" id="currentLocation" > value="#someexistingvalue#" /> > <input type="hidden" name="webaction" value="anothervalue" /> > <button class="rounded rounded-loc">Go</button> > </form> > </cfoutput> > > Want to pass querystring with the action. > Removing the method avoids the 405 error, but really don't want to use > GET method. > > Cheers, > Kris > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334667 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm