Re: CFLOCATION, but with a form
On Tuesday 18 Dec 2007, Dave Merrill wrote: As I understand it, cflocation sends a redirect to the browser, navigating it to a new page, potentially including url parameters. Is there any way to do a similar thing, but emulating a form, so passed parameters can be kept out of the url? Store them in the session, or as cookies. -- Tom Chiverton Helping to simultaneously coordinate user-centric communities on: http://thefalken.livejournal.com Halliwells wishes all of its clients and suppliers the Very Best for Christmas the New Year This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| 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:295016 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFLOCATION, but with a form
Well yes, you could use those other mechanisms to hand off the data, or push it into a db table, but that's not really what I'm trying to think about. Is there a form equivalent to the http mechanism used by cflocation, where the server side generates info that gets passed to a new page? 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 -Original Message- From: Tom Chiverton Sent: Tuesday, December 18, 2007 11:17 AM To: CF-Talk Subject: Re: CFLOCATION, but with a form On Tuesday 18 Dec 2007, Dave Merrill wrote: As I understand it, cflocation sends a redirect to the browser, navigating it to a new page, potentially including url parameters. Is there any way to do a similar thing, but emulating a form, so passed parameters can be kept out of the url? Store them in the session, or as cookies. -- Tom Chiverton Helping to simultaneously coordinate user-centric communities on: http://thefalken.livejournal.com Halliwells wishes all of its clients and suppliers the Very Best for Christmas the New Year This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| 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:295049 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFLOCATION, but with a form
Without javascript involved or using GetPageContext().Forward() ( read: http://www.bennadel.com/blog/382-Is-ColdFusion-s-GetPageContext-Forward-Method-Worth-Using-.htm), then I don't think you're going to find what you're looking for. On Dec 18, 2007 2:48 PM, Dave Merrill [EMAIL PROTECTED] wrote: Well yes, you could use those other mechanisms to hand off the data, or push it into a db table, but that's not really what I'm trying to think about. Is there a form equivalent to the http mechanism used by cflocation, where the server side generates info that gets passed to a new page? 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 ~| 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:295050 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFLOCATION, but with a form
Is there a form equivalent to the http mechanism used by cflocation, where the server side generates info that gets passed to a new page? No, there isn't. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| 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:295051 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
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:295052 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFLOCATION, but with a form
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