Re: file name Undefined error
First, using nameconflict, unless the file name in attach1 already exists, you will not set a serverFile variable. If that's the case, and attach1 does not already exist, you need to CFSET SavedFile1 to the value of the file name in FORM.attach1. They way it is now, if the file name in attach1 does not previously exist, SavedFile1 is empty and your javascript will fail. Also, best practice is to scope your variables. attach1 should be FORM.attach1. You don't need the #--# around variable names inside your CFIF or CFSET tags. Dave I am trying to pass name of the saved file to another page but it is giving filename undefined in javascript. this is my code cfif isdefined('attach1') cfset err1= cfset err=false cfif #attach1# is not CFFILE action=UPLOAD filefield=attach1 destination=C:\CFusionMX\wwwroot\Topline\intranet\cpo\attachments nameconflict=MakeUnique cfset SavedFile1 = #ServerFile# cfelse cfset SavedFile1 = /cfif /cfif html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body form name=frm1 action=filetest.cfm method=post enctype=multipart/form-data Attach1: input name=attach1 type=file id=attach1 size=37 input type=submit name=Add value=Add /form cfif isdefined('err1') cfif err eq false cfoutput#SavedFile1#/cfoutput cfset ex=GetToken(Savedfile1,2,.) cfset fi=GetToken(Savedfile1,1,.) cfoutput#fi#/cfoutputbr cfoutput#ex#/cfoutput script language=JavaScript document.frm1.action = addu. cfm?Saved='+cfoutput#SavedFile1#/cfoutput+'; document.frm1.method = POST; document.frm1.submit(); /script /cfif /cfif /body /html Thanks ~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186812 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: file name with no extensions
Could you explain your reasoning or why you need to do this?Maybe there is a better solution? DF The reason is that management has placed an ad and has the add appearing as 'www.somepage.com/welcome' Does redirection work if you access the url directly (including the index.htm)?If so, then it would appear that the web server is not recognizing that as the default document. DF Yes, the redirection does work if I access directly. What I think you're saying here is that the web server needs to be configured to access it in that manner... is that correct? That's what I thought initially. DF To explain again, to those new to this discussion, here's what I'm trying to do.. We need the url that the client types in to appear as 'www.somepage.com/welcome' NOT '/welcome.htm' NOT '/welcome/index.htm' and NOT /welcome/. Any help would be appreciated... cheers! [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: file name with no extensions
daniel is that you mean, or do you actually want a file with no extension called welcome, to be the file that is parsed and brought back to the browser by the cfmx server? Ideally that would be even better. But would probably work better as a virtual directory or something because I need it to point to some asp pages. After the user has typed in /Welcome I don't care what happens to the url bar. Thanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: file name with no extensions
Most web servers should be set to do automatically what you want this to do.If you don't type in any file extension at the end of your URL, it will be automatically treated like a directory, and will go on to find the default document in that subdirectory.Find out what the default document is for your server, usually index.html if the settings have not been messed with, and name the page that.Upload it, and viola!When you type in www.somesite.com/welcome, you will get the index.html page automatically. Actually, if it were me, I would just make up a real quick index.html page, upload it to the welcome subdirectory, and try out the address.I bet it would work without having to mess with any server settings, or finding out any info about the default document. Try this:(I just have a doc named index.html in this subdirectory, I touched no server settings) http://www.taichinetwork.org/lu You should get the index page. Ray At 06:36 AM 10/7/2004, you wrote: daniel is that you mean, or do you actually want a file with no extension called welcome, to be the file that is parsed and brought back to the browser by the cfmx server? Ideally that would be even better. But would probably work better as a virtual directory or something because I need it to point to some asp pages. After the user has typed in /Welcome I don't care what happens to the url bar. Thanks. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: file name with no extensions
To explain again, to those new to this discussion, here's what I'm trying to do.. We need the url that the client types in to appear as 'www.somepage.com/welcome' NOT '/welcome.htm' NOT '/welcome/index.htm' and NOT /welcome/. If you have a directory in your web root called welcome, then most web servers will allow you to get to the default file within that directory using http://whateverhost/welcome. What'll happen is, the browser will request that URL, and the server will send a Location header with a slash appended, which will redirect the browser to http://whateverhost/welcome/. If you have a default file within that directory, the web server will then use it. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: RE: file name with no extensions
As Dave says, using the directory structure and default filenames is probably going to be the easiest and best way to do this.An alternative (assuming you're running on top of a J2EE server) is to put a servlet mapping for the URI you're using in your web.xml file and let a servlet handle the request(s).I haven't been following this thread very closely, so my apologies if that's already been suggested. ~Simon To explain again, to those new to this discussion, here's what I'm trying to do.. We need the url that the client types in to appear as 'www.somepage.com/welcome' NOT '/welcome.htm' NOT '/welcome/index.htm' and NOT /welcome/. If you have a directory in your web root called welcome, then most web servers will allow you to get to the default file within that directory using http://whateverhost/welcome. What'll happen is, the browser will request that URL, and the server will send a Location header with a slash appended, which will redirect the browser to http://whateverhost/welcome/. If you have a default file within that directory, the web server will then use it. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: file name with no extensions - SOLVED
Ok, so the easiest way we did this. created a virtual directory named Welcome that points to the root. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: file name with no extensions
I need the url that the user types in to be www.somesite/welcome not 'welcome/' or 'welcome/index.htm'. Is there any way to do this? And then direct the user to the real page It doesn't matter what happens after that, as long as the url initially appears as 'www.somesite/welcome'. I figure this is a web server setting. Any ideas. I've tried creating a directory with the name 'Welcome' and placing a file in that directory webroot/welcome/index.htm ( which redirects the page ) to the real one. But for some reason it does not work. ( yes the redirection code is fine ) huh? why not just create a directory called Welcome and in it have an index page the redirects them to wherever you want... unless I misunderstood your query. [EMAIL PROTECTED] 10/5/2004 8:52:58 AM We have a request to create an opening page like so... Welcome with no extension. for example www.somesite.com/Welcome How is this done?.. something I've never tried. We need it setup so that when a client types in the above address they are taken to the right page. Thanks mates. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: file name with no extensions
Could you explain your reasoning or why you need to do this?Maybe there is a better solution? Just thinking out loud here Ray At 10:25 AM 10/6/2004, you wrote: I need the url that the user types in to be www.somesite/welcome not 'welcome/' or 'welcome/index.htm'. Is there any way to do this? And then direct the user to the real page It doesn't matter what happens after that, as long as the url initially appears as 'www.somesite/welcome'. I figure this is a web server setting. Any ideas. I've tried creating a directory with the name 'Welcome' and placing a file in that directory webroot/welcome/index.htm ( which redirects the page ) to the real one. But for some reason it does not work. ( yes the redirection code is fine ) huh? why not just create a directory called Welcome and in it have an index page the redirects them to wherever you want... unless I misunderstood your query. [EMAIL PROTECTED] 10/5/2004 8:52:58 AM We have a request to create an opening page like so... Welcome with no extension. for example www.somesite.com/Welcome How is this done?.. something I've never tried. We need it setup so that when a client types in the above address they are taken to the right page. Thanks mates. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: file name with no extensions
Does redirection work if you access the url directly (including the index.htm)?If so, then it would appear that the web server is not recognizing that as the default document. Regards, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server PrismAV - Virus scanning for ColdFusion applications Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm - Original Message - From: Daniel Farmer To: CF-Talk Sent: Wednesday, October 06, 2004 10:25 AM Subject: Re: file name with no extensions I need the url that the user types in to be www.somesite/welcome not 'welcome/' or 'welcome/index.htm'. Is there any way to do this? And then direct the user to the real page It doesn't matter what happens after that, as long as the url initially appears as 'www.somesite/welcome'. I figure this is a web server setting. Any ideas. I've tried creating a directory with the name 'Welcome' and placing a file in that directory webroot/welcome/index.htm ( which redirects the page ) to the real one. But for some reason it does not work. ( yes the redirection code is fine ) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: file name with no extensions
huh? why not just create a directory called Welcome and in it have an index page the redirects them to wherever you want... unless I misunderstood your query. [EMAIL PROTECTED] 10/5/2004 8:52:58 AM We have a request to create an opening page like so... Welcome with no extension. for example www.somesite.com/Welcome How is this done?.. something I've never tried. We need it setup so that when a client types in the above address they are taken to the right page. Thanks mates. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: file name with no extensions
Make Welcome a subdirectory of the main site folder and put a template in there that is a default template in your web site. HTH, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server PrismAV - Virus scanning for ColdFusion applications Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm - Original Message - From: Daniel Farmer To: CF-Talk Sent: Tuesday, October 05, 2004 11:52 AM Subject: file name with no extensions We have a request to create an opening page like so... Welcome with no extension. for example www.somesite.com/Welcome How is this done?.. something I've never tried. We need it setup so that when a client types in the above address they are taken to the right page. Thanks mates. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: file name with no extensions
http://www.somesite.com/Welcome/index.cfm will appear if only http://www.somesite.com/Welcome is typed in Daniel Farmer wrote: We have a request to create an opening page like so... Welcome with no extension. for example www.somesite.com/Welcome How is this done?.. something I've never tried. We need it setup so that when a client types in the above address they are taken to the right page. Thanks mates. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: file name with no extensions
daniel is that you mean, or do you actually want a file with no extension called welcome, to be the file that is parsed and brought back to the browser by the cfmx server? tw On Tue, 05 Oct 2004 12:03:26 -0400, Cutter (CF related) [EMAIL PROTECTED] wrote: http://www.somesite.com/Welcome/index.cfm will appear if only http://www.somesite.com/Welcome is typed in Daniel Farmer wrote: We have a request to create an opening page like so... Welcome with no extension. for example www.somesite.com/Welcome How is this done?.. something I've never tried. We need it setup so that when a client types in the above address they are taken to the right page. Thanks mates. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: File Name/Directory?
Whats the error? [EMAIL PROTECTED] 07/09/03 12:35PM Hi all, We are getting this error with CFMX and Spectra 1.52 Directory and file exists but, CF generates this error? Thanks in advance Regards Govind Bhat Visit us at www.50plus.com Filename/directories are different This is in D:\CFusionMX\runtime\logs\default-err.log 07/09 09:36:01 error Requested resource File not found: /index.cfm not found 07/09 09:42:08 error Requested resource File not found: /home_family/index.cfm not found 07/09 09:43:54 error Requested resource File not found: /health/index.cfm not found 07/09 09:45:26 error Requested resource File not found: /index.cfm not found 07/09 09:47:52 error Requested resource File not found: /index.cfm not found This in CF logs: Jul 9, 2003 9:48 AM Error 0 File not found: /home_family/adultlife.cfm The specific sequence of files included or processed is: null This is how page looks in the browser Error Occurred While Processing Request File not found: /health/index.cfm Please try the following: * Check the CFML Reference Manual http://www1.50plus.com/cfdocs/CFML_Reference/contents.htm to verify that you are using the correct syntax. * Search the Knowledge Base http://www.macromedia.com/support/coldfusion/ to find a solution to your problem. Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Rogers Hi-Speed Internet) Remote Address 65.39.193.167 Referrer Date/Time 09-Jul-03 09:43 AM Stack Trace (click to expand) javascript:; coldfusion.runtime.TemplateNotFoundException: File not found: /health/index.cfm at coldfusion.filter.PathFilter.invoke(Unknown Source) at coldfusion.filter.ExceptionFilter.invoke(Unknown Source) at coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown Source) at coldfusion.filter.BrowserFilter.invoke(Unknown Source) at coldfusion.filter.GlobalsFilter.invoke(Unknown Source) at coldfusion.filter.DatasourceFilter.invoke(Unknown Source) at coldfusion.CfmServlet.service(Unknown Source) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) IL ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: File Name/Directory?
The error: File not found: /health/index.cfm means that at that LEVEL in that given directory the sub directory of HEALTH either does not exist or the INDEX.CFM does not exist. So if you are at: http://localhost/myAPP/ and you use the function either CFINCLUDE or Whatever that is would be looking for the following: http://localhost/myAPP/health/index.cfm Use the dot-dot notation ( .. / ) to locate the file. If your using CFFILE or CFDIRECTORY you might need to use the absolute path: C:\inetpub\wwwroot\myApp\ [EMAIL PROTECTED] 07/09/03 01:43PM Here is the error message in the browser. Error Occurred While Processing Request File not found: /health/index.cfm Please try the following: * Check the CFML Reference Manual http://www1.50plus.com/cfdocs/CFML_Reference/contents.htm to verify that you are using the correct syntax. * Search the Knowledge Base http://www.macromedia.com/support/coldfusion/ to find a solution to your problem. Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Rogers Hi-Speed Internet) Remote Address 65.39.193.167 Referrer Date/Time 09-Jul-03 09:43 AM Stack Trace (click to expand) javascript:; coldfusion.runtime.TemplateNotFoundException: File not found: /health/index.cfm at coldfusion.filter.PathFilter.invoke(Unknown Source) at coldfusion.filter.ExceptionFilter.invoke(Unknown Source) at coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown Source) at coldfusion.filter.BrowserFilter.invoke(Unknown Source) at coldfusion.filter.GlobalsFilter.invoke(Unknown Source) at coldfusion.filter.DatasourceFilter.invoke(Unknown Source) at coldfusion.CfmServlet.service(Unknown Source) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) THanks Govind ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: File name with query string in JS function
The error description follows: Error in expression: url.sort = "thumbnail" Invalid conditional expression. Perhaps you are using = instead of EQ or IS to compare values. The error occurred while processing an element with a general identifier of (CFIF), occupying document position (2:1) to (2:29). The correct template gets called, but when the first line, which reads, "cfif url.sort = "thumbnail"" is reached, the error occurs. Can I just say it's got NOTHING to do with your JavaScript - that "=" should not be in the CFIF, it should be "is" cfif url.sort is "thumbnail" HTH Philip Arnold ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: file name
This is a multi-part message in MIME format. --=_NextPart_000_0367_01C00224.5A571AB0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable file nameonrequestend.cfm, must be located in the same directory as the = currently executing application.cfm DC - Original Message -=20 From: Jay Wigginton=20 To: [EMAIL PROTECTED]=20 Sent: Wednesday, August 09, 2000 16:51 Subject: file name Could some please tell me the file name that if present in a directory = will=20 be executed after the current template... same as cfapplication but is = executed afterwards... I have searched the archives and thought I had = saved=20 the file name in my CF tips, but I cannot find it .. G=20 thanks in advance!=20 Jay=20 = -= -=20 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/=20 To Unsubscribe visit = http://www.houseoffusion.com/index.cfm?sidebar=3Dlistsbody=3Dlists/cf_ta= lk or send a message to [EMAIL PROTECTED] with = 'unsubscribe' in the body. --=_NextPart_000_0367_01C00224.5A571AB0 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" HTMLHEADTITLEfile name/TITLE META content=3D"text/html; charset=3Dwindows-1252" = http-equiv=3DContent-Type META content=3D"MSHTML 5.00.3018.900" name=3DGENERATOR STYLE/STYLE /HEAD BODY bgColor=3D#ff DIVFONT face=3DArial size=3D2onrequestend.cfm, must be located in = the same=20 directory as the currently executing application.cfm/FONT/DIV DIVnbsp;/DIV DIVFONT face=3DArial size=3D2DC/FONT/DIV BLOCKQUOTE=20 style=3D"BORDER-LEFT: #00 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: = 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px" DIV style=3D"FONT: 10pt arial"- Original Message - /DIV DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"BFrom:/B=20 A href=3D"mailto:[EMAIL PROTECTED]" [EMAIL PROTECTED]Jay = Wigginton/A=20 /DIV DIV style=3D"FONT: 10pt arial"BTo:/B A=20 href=3D"mailto:[EMAIL PROTECTED]"=20 [EMAIL PROTECTED][EMAIL PROTECTED]/A /DIV DIV style=3D"FONT: 10pt arial"BSent:/B Wednesday, August 09, = 2000=20 16:51/DIV DIV style=3D"FONT: 10pt arial"BSubject:/B file name/DIV DIVBR/DIV PFONT size=3D2Could some please tell me the file name that if = present in a=20 directory will/FONT BRFONT size=3D2be executed after the current = template... same as cfapplication but is/FONT BRFONT = size=3D2executed=20 afterwards... I have searched the archives and thought I had = saved/FONT=20 BRFONT size=3D2the file name in my CF tips, but I cannot find it = ..=20 lt;Ggt;/FONT /P PFONT size=3D2thanks in advance!/FONT BRFONT = size=3D2Jay/FONT /P PFONT=20 = size=3D2= --/FONT=20 BRFONT size=3D2Archives: A=20 href=3D"http://www.mail-archive.com/cf-talk@houseoffusion.com/"=20 = target=3D_blankhttp://www.mail-archive.com/cf-talk@houseoffusion.com//A= /FONT=20 BRFONT size=3D2To Unsubscribe visit A=20 = href=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlistsamp;body=3D= lists/cf_talk"=20 = target=3D_blankhttp://www.houseoffusion.com/index.cfm?sidebar=3Dlistsam= p;body=3Dlists/cf_talk/A=20 or send a message to [EMAIL PROTECTED] with = 'unsubscribe' in=20 the body./FONT/P/BLOCKQUOTE/BODY/HTML --=_NextPart_000_0367_01C00224.5A571AB0-- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: file name
OnRequestEnd.cfm Note: this file has to be in the same directory as the calling template. CF will not search for this file like application.cfm Brad -Original Message- From: Jay Wigginton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 09, 2000 12:51 PM To: [EMAIL PROTECTED] Subject: file name Could some please tell me the file name that if present in a directory will be executed after the current template... same as cfapplication but is executed afterwards... I have searched the archives and thought I had saved the file name in my CF tips, but I cannot find it .. G thanks in advance! Jay -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: file name
To reiterate, thanks to the MIME mush: onrequestend.cfm, which must be located in the same directory as the currently executing application.cfm DC - Original Message - From: "David E. Crawford" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 09, 2000 17:07 Subject: Re: file name This is a multi-part message in MIME format. --=_NextPart_000_0367_01C00224.5A571AB0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable file nameonrequestend.cfm, must be located in the same directory as the = currently executing application.cfm DC - Original Message -=20 From: Jay Wigginton=20 To: [EMAIL PROTECTED]=20 Sent: Wednesday, August 09, 2000 16:51 Subject: file name Could some please tell me the file name that if present in a directory = will=20 be executed after the current template... same as cfapplication but is = executed afterwards... I have searched the archives and thought I had = saved=20 the file name in my CF tips, but I cannot find it .. G=20 thanks in advance!=20 Jay=20 = -= -=20 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/=20 To Unsubscribe visit = http://www.houseoffusion.com/index.cfm?sidebar=3Dlistsbody=3Dlists/cf_t a= lk or send a message to [EMAIL PROTECTED] with = 'unsubscribe' in the body. --=_NextPart_000_0367_01C00224.5A571AB0 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" HTMLHEADTITLEfile name/TITLE META content=3D"text/html; charset=3Dwindows-1252" = http-equiv=3DContent-Type META content=3D"MSHTML 5.00.3018.900" name=3DGENERATOR STYLE/STYLE /HEAD BODY bgColor=3D#ff DIVFONT face=3DArial size=3D2onrequestend.cfm, must be located in = the same=20 directory as the currently executing application.cfm/FONT/DIV DIVnbsp;/DIV DIVFONT face=3DArial size=3D2DC/FONT/DIV BLOCKQUOTE=20 style=3D"BORDER-LEFT: #00 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: = 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px" DIV style=3D"FONT: 10pt arial"- Original Message - /DIV DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"BFrom:/B=20 A href=3D"mailto:[EMAIL PROTECTED]" [EMAIL PROTECTED]Jay = Wigginton/A=20 /DIV DIV style=3D"FONT: 10pt arial"BTo:/B A=20 href=3D"mailto:[EMAIL PROTECTED]"=20 [EMAIL PROTECTED][EMAIL PROTECTED]/A /DIV DIV style=3D"FONT: 10pt arial"BSent:/B Wednesday, August 09, = 2000=20 16:51/DIV DIV style=3D"FONT: 10pt arial"BSubject:/B file name/DIV DIVBR/DIV PFONT size=3D2Could some please tell me the file name that if = present in a=20 directory will/FONT BRFONT size=3D2be executed after the current = template... same as cfapplication but is/FONT BRFONT = size=3D2executed=20 afterwards... I have searched the archives and thought I had = saved/FONT=20 BRFONT size=3D2the file name in my CF tips, but I cannot find it = ..=20 lt;Ggt;/FONT /P PFONT size=3D2thanks in advance!/FONT BRFONT = size=3D2Jay/FONT /P PFONT=20 = size=3D2--- -= --/FONT=20 BRFONT size=3D2Archives: A=20 href=3D"http://www.mail-archive.com/cf-talk@houseoffusion.com/"=20 = target=3D_blankhttp://www.mail-archive.com/cf-talk@houseoffusion.com// A= /FONT=20 BRFONT size=3D2To Unsubscribe visit A=20 = href=3D"http://www.houseoffusion.com/index.cfm?sidebar=3Dlistsamp;body= 3D= lists/cf_talk"=20 = target=3D_blankhttp://www.houseoffusion.com/index.cfm?sidebar=3Dlistsa m= p;body=3Dlists/cf_talk/A=20 or send a message to [EMAIL PROTECTED] with = 'unsubscribe' in=20 the body./FONT/P/BLOCKQUOTE/BODY/HTML --=_NextPart_000_0367_01C00224.5A571AB0-- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: file name
OnRequestEnd.cfm At 12:51 PM 8/9/00 -0400, Jay Wigginton wrote: Could some please tell me the file name that if present in a directory will be executed after the current template... same as cfapplication but is executed afterwards... I have searched the archives and thought I had saved the file name in my CF tips, but I cannot find it .. G thanks in advance! Jay -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. --- Peter Theobald, Chief Technology Officer LiquidStreaming http://www.liquidstreaming.com [EMAIL PROTECTED] Phone 1.212.545.1232 Fax 1.212.679.8032 -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: file name
Could some please tell me the file name that if present in a directory will be executed after the current template... same as cfapplication but is executed afterwards... I have searched the archives and thought I had saved the file name in my CF tips, but I cannot find it .. G onrequestend.cfm - Sean Sean Daniels Manager, Engineering Marketplace Technologies [EMAIL PROTECTED] tel: 207.439.6030 cel: 978.764.0779 http://www.dealforce.com http://www.dealstream.com http://www.mergernetwork.com -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: file name
Exactly right, sorry. Brad -Original Message- From: David E. Crawford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 09, 2000 1:33 PM To: [EMAIL PROTECTED] Subject: Re: file name From the CFDOCS: The OnRequestEnd.cfm file Just as the Application.cfm file is executed before each application page it governs, you can specify a file named OnRequestEnd.cfm, which is executed after each application page in the same application. ColdFusion Server looks for the OnRequestEnd.cfm file in the same directory as the Application.cfm file of the current application page. The OnRequestEnd.cfm file will never be executed if it resides in another directory. The OnRequestEnd.cfm file will not be executed if there is an error or an exception in the called page, or if the called page executes the CFABORT or CFEXIT tag. DC - Original Message - From: "Brad Roberts" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 09, 2000 17:13 Subject: RE: file name OnRequestEnd.cfm Note: this file has to be in the same directory as the calling template. CF will not search for this file like application.cfm Brad -Original Message- From: Jay Wigginton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 09, 2000 12:51 PM To: [EMAIL PROTECTED] Subject: file name Could some please tell me the file name that if present in a directory will be executed after the current template... same as cfapplication but is executed afterwards... I have searched the archives and thought I had saved the file name in my CF tips, but I cannot find it .. G thanks in advance! Jay -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: file name
"Jay Wigginton" [EMAIL PROTECTED] wrote: Could some please tell me the file name that if present in a directory will be executed after the current template... OnRequestEnd.cfm Gene Kraybill -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.