House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

CFLOCATION mechanism ?

  << Previous Post |  RSS |  Tree View |  Sort Oldest First |  Subscribe to this Group Next >> 

CFLOCATION mechanism..?

DOH! David K 06/02/2003 02:41 PM
some interesting info on the meta tag and the http-equiv attribute Douglas.Knudsen 06/02/2003 02:37 PM
David K wrote: Jochem van Dieten 06/02/2003 02:32 PM
> When you use CFLOCATION, it's creating an HTTP response header which looks David K 06/02/2003 02:28 PM
No, it is not actually, is completely client side. David K 06/02/2003 02:24 PM
Incorrect. ksuh 06/02/2003 02:23 PM
>> It's then up to your browser to request the other URL. John Wilker 06/02/2003 02:19 PM
----- Excess quoted text cut - see Original Post for more ----- Dave Watts 06/02/2003 02:16 PM
<CFLOCATION> is a redirect from the server side. Nothing on the client John Wilker 06/02/2003 02:13 PM
Hoping someone can shed some light on the underlying mechanism that David K 06/02/2003 02:10 PM

06/02/2003 02:41 PM
Author: David K Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24449#122959 DOH! > David K wrote: > > > > While we're at it here, what's the response header that gets returned with ----- Excess quoted text cut - see Original Post for more -----
06/02/2003 02:37 PM
Author: Douglas.Knudsen Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24449#122957 some interesting info on the meta tag and the http-equiv attribute http://www.wdvl.com/Authoring/HTML/Head/Meta/HTTP.html http://vancouver-webpages.com/META/metatags.detail.html http://ftp.ics.uci.edu/pub/ietf/html/draft-musella-html-metatag-01.txt from the above....note the word 'can'.  In other sources the word can is replaced with 'may'. "HTTP servers can read the contents of the document head to generate response headers corresponding to any elements defining a value for the attribute HTTP-EQUIV." ...a paraphrased response to the JS-Jive list... Doug ----- Excess quoted text cut - see Original Post for more -----
06/02/2003 02:32 PM
Author: Jochem van Dieten Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24449#122955 David K wrote: > > While we're at it here, what's the response header that gets returned with > <cfheader name="refresh" value="0; URL=foo.cfm"> ? Refresh: 0; URL=foo.cfm Jochem
06/02/2003 02:28 PM
Author: David K Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24449#122953 > When you use CFLOCATION, it's creating an HTTP response header which looks a > little like this: > > HTTP/1.1 302 Object Moved > Location: someotherfile.html > ... > > It's then up to your browser to request the other URL. Thanks, that makes sense. > A "META refresh", on the other hand, is an instruction embedded within an > HTML page, using the META tag, which is something else entirely. An HTML > author can't force the web server to return specific HTTP headers, and the > META tag can be used to provide similar functionality. I'm kind of surprised > that IE's setting stopped the CFHEADER tag from working, since that's a real > HTTP response header, rather than a META tag, but it's not like there aren't > any other bugs in IE, so I'm not too surprised. > While we're at it here, what's the response header that gets returned with <cfheader name="refresh" value="0; URL=foo.cfm"> ? --David K.
06/02/2003 02:24 PM
Author: David K Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24449#122949 No, it is not actually, is completely client side. CFMX can do serverside re-deirects though. Search through this list to find out how. > <CFLOCATION> is a redirect from the server side. Nothing on the client takes > place. That's why setting cookies on pages that have CFLOCATION doesn't > work. It gets processed by the server and the server sends a new page to the ----- Excess quoted text cut - see Original Post for more ----- URL=foo.cfm"> > which makes sense. What's going on here? > > --David K.
06/02/2003 02:23 PM
Author: ksuh Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24449#122948 Incorrect. The client is sent a 302 status code - page moved. > <CFLOCATION> is a redirect from the server side. Nothing on the > client takes > place. That's why setting cookies on pages that have CFLOCATION > doesn'twork This doesn't work because there's a bug in CF that was finally fixed in MX (it only took, oh, 6 years). It gets processed by the server and the server sends ----- Excess quoted text cut - see Original Post for more -----
06/02/2003 02:19 PM
Author: John Wilker Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24449#122946 >> It's then up to your browser to request the other URL. Oh I didn't even know that. Cool. :) ----- Excess quoted text cut - see Original Post for more ----- When you use CFLOCATION, it's creating an HTTP response header which looks a little like this: HTTP/1.1 302 Object Moved Location: someotherfile.html ... It's then up to your browser to request the other URL. A "META refresh", on the other hand, is an instruction embedded within an HTML page, using the META tag, which is something else entirely. An HTML author can't force the web server to return specific HTTP headers, and the META tag can be used to provide similar functionality. I'm kind of surprised that IE's setting stopped the CFHEADER tag from working, since that's a real HTTP response header, rather than a META tag, but it's not like there aren't any other bugs in IE, so I'm not too surprised. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444
06/02/2003 02:16 PM
Author: Dave Watts Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24449#122945 ----- Excess quoted text cut - see Original Post for more ----- When you use CFLOCATION, it's creating an HTTP response header which looks a little like this: HTTP/1.1 302 Object Moved Location: someotherfile.html ... It's then up to your browser to request the other URL. A "META refresh", on the other hand, is an instruction embedded within an HTML page, using the META tag, which is something else entirely. An HTML author can't force the web server to return specific HTTP headers, and the META tag can be used to provide similar functionality. I'm kind of surprised that IE's setting stopped the CFHEADER tag from working, since that's a real HTTP response header, rather than a META tag, but it's not like there aren't any other bugs in IE, so I'm not too surprised. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444
06/02/2003 02:13 PM
Author: John Wilker Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24449#122943 <CFLOCATION> is a redirect from the server side. Nothing on the client takes place. That's why setting cookies on pages that have CFLOCATION doesn't work. It gets processed by the server and the server sends a new page to the browser. J Hoping someone can shed some light on the underlying mechanism that CFLOCATION uses to perform the re-direct. My current understanding is that it simply returns a header to the browser for a client side re-direct. However, I was testing to see if setting IE's "Allow META Refresh" to "DISABLE" would break CFLOCATION and I was surprised to see that it *did not*. It did however break <cfheader name="refresh" value="0; URL=foo.cfm"> which makes sense. What's going on here? --David K.
06/02/2003 02:10 PM
Author: David K Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:24449#122942 Hoping someone can shed some light on the underlying mechanism that CFLOCATION uses to perform the re-direct. My current understanding is that it simply returns a header to the browser for a client side re-direct. However, I was testing to see if setting IE's "Allow META Refresh" to "DISABLE" would break CFLOCATION and I was surprised to see that it *did not*. It did however break <cfheader name="refresh" value="0; URL=foo.cfm"> which makes sense. What's going on here? --David K.
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference