Re: redirect after cfheader/cfcontent

2004-08-31 Thread Jochem van Dieten
CFDEV wrote: I have a code on a page that pop up a save/open for downloading a page : cfheader name=Content-Disposition value=attachment;filename=#getfilefrompath(cas.fichier)# cfcontent file=#nom_fichier2# type=application/pdf deletefile=No / And I want to redirect the page to

RE: redirect after cfheader/cfcontent

2004-08-31 Thread Micha Schopman
And the reason is both tags rewrite the header. Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 ALAmersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User

RE: redirect after cfheader/cfcontent

2004-08-31 Thread Dave Watts
And the reason is both tags rewrite the header. Well, not exactly. You can use multiple tags that rewrite the header in the same page, as long as those tags don't tell the browser to do two things at once that can't be done in one request. For example, you can use CFCOOKIE and CFLOCATION in CFMX

RE: redirect after cfheader/cfcontent

2004-08-31 Thread Dave Watts
Ahh thanks Matt -- I'd forgotten about that -- yea, some folks use cfheader themselves to accomplish the redirect, which is similar to using cflocation. The difference is that with a cfheader tag (I think it's status with a value of 302 but that's not really my forte) won't also terminate

RE: redirect after cfheader/cfcontent

2004-08-31 Thread Tyler Silcox
Dave Watts wrote: When you use CFCONTENT to deliver a file, it doesn't set a Location header. It simply delivers the content specified by the tag. I've been meaning to ask for awhile, but how much overhead does CFCONTENT create if you are serving a 1MB file? Howabout a 10MB file? Does the CF

RE: redirect after cfheader/cfcontent

2004-08-31 Thread Dave Watts
I've been meaning to ask for awhile, but how much overhead does CFCONTENT create if you are serving a 1MB file? Howabout a 10MB file? Does the CF server actually handle the file, or does it just provide a pointer to the local file? I believe that the request is handled entirely by the web

Re: redirect after cfheader/cfcontent

2004-08-30 Thread S . Isaac Dealey
I have a code on a page that pop up a save/open for downloading a page : cfheader name=Content-Disposition value=attachment;filename=#getfilefrompath(cas.fichier)# cfcontent file=#nom_fichier2# type=application/pdf deletefile=No / And I want to redirect the page to another page after

RE: redirect after cfheader/cfcontent

2004-08-30 Thread Matt Liotta
, August 30, 2004 10:23 PM To: CF-Talk Subject: Re: redirect after cfheader/cfcontent I have a code on a page that pop up a save/open for downloading a page : cfheader name=Content-Disposition value=attachment;filename=#getfilefrompath(cas.fichier)# cfcontent file=#nom_fichier2# type

RE: redirect after cfheader/cfcontent

2004-08-30 Thread CFDEV
Thanks guys... Isaac your solution works just fine with the location... Pat _ From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: August 30, 2004 22:23 To: CF-Talk Subject: Re: redirect after cfheader/cfcontent I have a code on a page that pop up a save/open for downloading

RE: redirect after cfheader/cfcontent

2004-08-30 Thread CFDEV
, 2004 22:57 To: CF-Talk Subject: RE: redirect after cfheader/cfcontent You can't use cflocation or cfheader after cfcontent, but you can use cfheader before cfcontent. Thus, you can issue a redirect with cfheader and still use cfcontent. -Matt -Original Message- From: [EMAIL PROTECTED

RE: redirect after cfheader/cfcontent

2004-08-30 Thread S . Isaac Dealey
Thanks guys... Isaac your solution works just fine with the location... Pat Ahh cool, good to know I could help. :) s. isaac dealey954.927.5117 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework

RE: redirect after cfheader/cfcontent

2004-08-30 Thread S . Isaac Dealey
Dealey Sent: Monday, August 30, 2004 10:23 PM To: CF-Talk Subject: Re: redirect after cfheader/cfcontent I have a code on a page that pop up a save/open for downloading a page : cfheader name=Content-Disposition value=attachment;filename=#getfilefrompath(cas.fichier )# cfcontent file

RE: redirect after cfheader/cfcontent

2004-08-30 Thread S . Isaac Dealey
Oups, I respond too fast.. I just tested it with the pop-up blocker on and it blocks the target=_blank which is no good.. Matt, how do I redirect in the cfheader? I use the cfheader before the cfcontent.. Thanks Pat Sounds to me like a bad popup blocker... iirc the blockers in the