RE: cfLOCATION - what's it doing??

2005-12-08 Thread Mosh Teitelbaum
Sorry for coming late to the party... I gave a preso on HTTP a while back that may be a useful read for some. It describes how browsers and clients communicate, the ins-and-outs of the HTTP protocol, and describes the various CF tags and functions that relate to HTTP. It also includes some helpf

Re: cfLOCATION - what's it doing??

2005-12-07 Thread James Holmes
Correct, it's a 302 (Found) location header. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html On 12/8/05, Charlie Griefer <[EMAIL PROTECTED]> wrote: > I believe it's a 302. > -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/

Re: cfLOCATION - what's it doing??

2005-12-07 Thread Ben Doom
I thought it was still a problem in MX6, but I could be wrong. I *very* rarely use cflocation. As in, I can't remember the last time. I could very well be wrong about that. In fact, it'd be awful nice if I was. :-) --Ben Russ wrote: > I do believe cookies get passed on every request by the

RE: cfLOCATION - what's it doing??

2005-12-07 Thread Snake
Could be, I can't remember all the error codes :-) -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: 07 December 2005 23:31 To: CF-Talk Subject: Re: cfLOCATION - what's it doing?? I believe it's a 302. http://www.petefreitag.com/item/359.cfm &l

Re: cfLOCATION - what's it doing??

2005-12-07 Thread Charlie Griefer
D] > Sent: 07 December 2005 22:51 > To: CF-Talk > Subject: RE: cfLOCATION - what's it doing?? > > Snake, Jon, > > While CFLocation IS coldfusion, it actually goes go across to the browser. I > believe it sends a meta redirect or something of that nature. So it IS cold &

RE: cfLOCATION - what's it doing??

2005-12-07 Thread Russ
: cfLOCATION - what's it doing?? Ben - i thought that as of CFMX, cookies would work in conjunction with ? just want to confirm/clarify since you mention "sans cookies"... On 12/7/05, Ben Doom <[EMAIL PROTECTED]> wrote: > Some of each, in a way. cflocation sends a redirect

RE: cfLOCATION - what's it doing??

2005-12-07 Thread Snake
Original Message- From: Snake [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 5:44 PM To: CF-Talk Subject: RE: cfLOCATION - what's it doing?? Jon, Javascript is client side, cflocation is coldfusion, so it is server side. If you have a cflocation in a page, it redirects to a

Re: cfLOCATION - what's it doing??

2005-12-07 Thread Charlie Griefer
Ben - i thought that as of CFMX, cookies would work in conjunction with ? just want to confirm/clarify since you mention "sans cookies"... On 12/7/05, Ben Doom <[EMAIL PROTECTED]> wrote: > Some of each, in a way. cflocation sends a redirect header to the > browser. Because it's a header, it has

Re: cfLOCATION - what's it doing??

2005-12-07 Thread Ben Doom
Some of each, in a way. cflocation sends a redirect header to the browser. Because it's a header, it has to come before content, and why it won't work after a cfflush. At this point, the server stops sending any data (stops processing the page, really) so no content ever reaches the browser.

RE: cfLOCATION - what's it doing??

2005-12-07 Thread Russ
pag.e -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 5:51 PM To: CF-Talk Subject: RE: cfLOCATION - what's it doing?? Snake, Jon, While CFLocation IS coldfusion, it actually goes go across to the browser. I believe it sends a meta red

RE: cfLOCATION - what's it doing??

2005-12-07 Thread Ben Nadel
ssage- From: Snake [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 5:44 PM To: CF-Talk Subject: RE: cfLOCATION - what's it doing?? Jon, Javascript is client side, cflocation is coldfusion, so it is server side. If you have a cflocation in a page, it redirects to anothe

RE: cfLOCATION - what's it doing??

2005-12-07 Thread Snake
Jon, Javascript is client side, cflocation is coldfusion, so it is server side. If you have a cflocation in a page, it redirects to another page, so thus your javascript never gets sent to the client, thus it doesn't run. If you want the redirect to happen on the client after that bit of javascrip

Re: cfLOCATION - what's it doing??

2005-12-06 Thread Charlie Griefer
On 12/7/05, Dave Watts <[EMAIL PROTECTED]> wrote: > > server side code will execute before client side code. so the server > > does it's relocation (based on the ) before the JS (or any > > other part of the document) ever has a chance to be interpreted by the > > client/browser. > > Strictly spea

RE: cfLOCATION - what's it doing??

2005-12-06 Thread Dave Watts
> server side code will execute before client side code. so the server > does it's relocation (based on the ) before the JS (or any > other part of the document) ever has a chance to be interpreted by the > client/browser. Strictly speaking, this isn't exactly correct. The CFLOCATION tag doesn't

RE: cfLOCATION - what's it doing??

2005-12-06 Thread Dave Watts
> I'm having a problem with cfLOCATION and I'm not sure if it's a bug or > I'm not understanding it correctly. > > I have: > > > top.will_load++; > parent.frames[0].location >= "ButtonPanel.cfm" >+ "?mode=debug"; > > > URL="CatReviewFile.cfm?Revision=#URLEnco

Re: cfLOCATION - what's it doing??

2005-12-06 Thread Jonathan Gingerich
Ah, of course. Thanks, Charlie. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free

Re: cfLOCATION - what's it doing??

2005-12-06 Thread Jonathan Gingerich
>server side code will execute before client side code. so the server >does it's relocation (based on the ) before the JS (or any >other part of the document) ever has a chance to be interpreted by the >client/browser. > >On 12/6/05, Jonathan Gingerich <[EMAIL PROTECTED]> wrote: >>Ah, of course.

RE: cfLOCATION - what's it doing??

2005-12-06 Thread Robert Redpath
Just a stab in the dark but do you use any cfflush tags earlier in the page? If so, cflocation will not work. "Using any of the following tags or functions on a page anywhere after the cfflush tag can cause errors or unexpected results: cfcontent, cfcookie, cfform, cfheader, cfhtmlhead, cfl

Re: cfLOCATION - what's it doing??

2005-12-06 Thread Charlie Griefer
server side code will execute before client side code. so the server does it's relocation (based on the ) before the JS (or any other part of the document) ever has a chance to be interpreted by the client/browser. On 12/6/05, Jonathan Gingerich <[EMAIL PROTECTED]> wrote: > I'm having a problem w