Ian, that's exactly what I was looking for, a server response that asks the
browser to submit a form, the form analog of what cflocation does. It
doesn't surprise me that no such thing exists.

Dave Merrill  

> -----Original Message-----
> From: Ian Skinner 
> Sent: Tuesday, December 18, 2007 3:09 PM
> To: CF-Talk
> Subject: Re: CFLOCATION, but with a form
> 
> Semi-relevant: cfhttp can submit a form with specified data 
> to a specified url, but the whole thing happens on the 
> server, without the browser relocating anywhere. What I'm 
> looking for is just like that, but navigating the browser to 
> that submitted pg.
> 
> Dave Merrill  
> 
> I am not seeing how this mechanism would work.  You want the 
> server to build a request for the client so that the client 
> ends up somewhere else by submitting a form post?  This 
> sounds like a mixing of the server/client - request/response schema.
> 
> <cflocation...> generates a response to the client request.  
> This is a response (HTTP status 301 IIRC) that the client 
> recognizes.  Most browsers then handle this response by 
> sending a new request to the suggested location.  But of 
> course they do not have to do this.
> 
> There are no responses that I know of that suggests the 
> browser to make a new form post request.  I have done 
> something like this in the ancient past (10 years ago) by 
> building an HTML form with a JavaScript auto-submit that is 
> sent to the browser.  Of course this may not be looked on too 
> friendly in todays environment and would be easily defeated.
> 
> Bottom line: NO I know of no way to do this and it does not 
> make sense to me from a client/server perspective.
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295068
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to