Re: Simple FORM post?
I wish it did - our blogs would have a lot less spam in them this way. I suspect something else is going on. On 5/16/07, Rob O'Brien wrote: > At this point, my conclusion is that the POST method has limitations when > used from a remote server/page, although I can't find anything on the web > that speaks to this. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278244 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Simple FORM post?
Once the form/html content is written to the remote page, there's no more JS involved in coming back to my server - just a simple form submittal. I figure that if POST wouldn't work for me, I'll just use GET instead and then deal with URL variables rather than FORM. I've implemented this and everything is working. At this point, my conclusion is that the POST method has limitations when used from a remote server/page, although I can't find anything on the web that speaks to this. I feel stupid because this seems like a simple rule that I should have picked up in all of my web development experience... oh well. Thanks for the reply Rob -Original Message- From: Gaulin, Mark [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:20 PM To: CF-Talk Subject: RE: Simple FORM post? Tough to say what could be going on without looking at any code, but have you considered that there may be a cross-site scripting security issue at play? Does Firefox report anything it its JS console? Mark -Original Message- From: Rob O'Brien [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:19 PM To: CF-Talk Subject: Simple FORM post? I'm developing a script that will allow remote servers to use a include on their pages to include a relatively simple search form and then post back to my site to perform the search. Seems straightforward enough, but the remote form post isn't populating the local CF FORM struct - it remains empty. Here's a quick step-by-step: 1) Remote site includes <script type="text/javascript" src="<a rel="nofollow" href="http://myhost.com/search.cfm"">http://myhost.com/search.cfm"</a>;> 2) Search.cfm generates all the HTML necessary for the form, it's escaped and returned as a single document.write() to the remote host. The form is presented on the remote site without trouble. 3) The search term is entered and the form submitted to my server as a POST 4) When testing on localhost, all is well. The FORM vars are available and the search is performed flawlessly. When testing on the prod server, CF's FORM struct is empty. I'm using CF's built-in web server locally and IIS on prod. I feel like I'm missing something stupid. Any help is appreciated. Rob ~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278200 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Simple FORM post?
Tough to say what could be going on without looking at any code, but have you considered that there may be a cross-site scripting security issue at play? Does Firefox report anything it its JS console? Mark -Original Message- From: Rob O'Brien [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:19 PM To: CF-Talk Subject: Simple FORM post? I'm developing a script that will allow remote servers to use a include on their pages to include a relatively simple search form and then post back to my site to perform the search. Seems straightforward enough, but the remote form post isn't populating the local CF FORM struct - it remains empty. Here's a quick step-by-step: 1) Remote site includes <script type="text/javascript" src="<a rel="nofollow" href="http://myhost.com/search.cfm"">http://myhost.com/search.cfm"</a>;> 2) Search.cfm generates all the HTML necessary for the form, it's escaped and returned as a single document.write() to the remote host. The form is presented on the remote site without trouble. 3) The search term is entered and the form submitted to my server as a POST 4) When testing on localhost, all is well. The FORM vars are available and the search is performed flawlessly. When testing on the prod server, CF's FORM struct is empty. I'm using CF's built-in web server locally and IIS on prod. I feel like I'm missing something stupid. Any help is appreciated. Rob ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:278196 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Simple FORM post?
I'm developing a script that will allow remote servers to use a include on their pages to include a relatively simple search form and then post back to my site to perform the search. Seems straightforward enough, but the remote form post isn't populating the local CF FORM struct - it remains empty. Here's a quick step-by-step: 1) Remote site includes