Re: Difference between cfcontent and cfheader in terms its usage?
> Difference between cfcontent and cfheader in terms its usage? Generally, cfcontent is used to serve up a file from the server through ColdFusion (could be a generated PDF document, tracking image, or any other file you want to have ColdFusion serve up for you through the code). You can also use cfcontent to specifically set the content-type header through the "type" attribute (usually in conjunction with a file to be sent with the "file" attribute). It can also be used to reset the output buffer as long as output hasn't been flushed back to the server yet. The cfheader tag is used to set specific response headers or status codes for the HTTP request. This can be used to set the status code and one or more response headers as needed. It's commonly used to set a "Content-Disposition" header in conjunction with the cfcontent tag when serving up a file to give the client a hint as to what filename it should use for the file being served. It can be used to set a "Location" header (which was common in conjunction with a 301 status code in earlier versions of ColdFusion, or in conjunction with setting a cookie way back before the cflocation tag was fixed in this regard). -Justin ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349908 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Difference between cfcontent and cfheader in terms its usage?
Difference between cfcontent and cfheader in terms its usage? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349907 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF code mapper
I'm tracing some code by hand and I'm wondering if there is a better way. There is an app that will allow you to point to a template and document all of the template's cfincludes, all of the cfincludes in the included templates, and so on. It does not do the same for cfmodules, cfcomponent calls, cfx tags, etc. Is there an app which will do this? I know that such an app can easily be written but I'd rather not reinvent the wheel if I can help it. Thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349906 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Password to Oracle datasource keep getting reset
Sometimes I've seen this when someone is allowing their browser to "remember password" for them. Each time that person visits the page, even if they are just editing an option, the password gets auto-populated into that field and saved. Since it's masked, you never notice. -Cameron On Wed, Feb 15, 2012 at 5:52 AM, Nathan Moore wrote: > Has anyone experienced or can advise on this one? > > It would appear that around about every 6 weeks the development version of > an intranet I maintain goes down with a DSN username/password error. I > verify the datasource in the CF admin and sure enough the password is > somehow no longer valid. > > I refer back to the password I have manually recorded, reenter, verify it > and it's fine. > > I do not experience the same problem on the test and live environments > despite all three evironments being identical in terms of CF version, > Oracle 10g DB and codebase. > > Any advise would be much appreciated. > > Thanks in advance. > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349905 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: (ot) Mobile Modal Dialogs Trouble
Ok... thanks, anyway. I did figure out that jQuery Mobile creates "faux" dialogs. They're just regular pages styled to look like dialogs. So, apparently, they don't know how, if it's possible, to create regular modal dialogs on smartphones. I had one working well for iPhone, but on Android it didn't work, and didn't work on iPad, either. Bummer... Rick -Original Message- From: Cameron Childress [mailto:camer...@gmail.com] Sent: Wednesday, February 15, 2012 2:13 PM To: cf-talk Subject: Re: (ot) Mobile Modal Dialogs Trouble On Tue, Feb 14, 2012 at 2:34 PM, Rick Faircloth wrote: > Any change I can have a look at the site you're deploying > to production, today? I wish. It's an internal app for a customer. The app manages billable time and projects for 15 or so offices across the US. Works on Droid/iOS as well as desktop. -Cameron ... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349904 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: App is hanging on some requests
> If these stacks are complete, and are the actual hung threads, then it > appears you're hanging on socket input from the internet, which is typically > a kernel-level issue. It's very often that socket issues are caused by > anti-virus - have you updated the av recently? We see socket > communicatations problem very frequently with McAfee. And if you ask me - not that anyone did - the best way to update the AV on a web server is to uninstall it. Then burn the CD. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsit ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349903 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: App is hanging on some requests
If these stacks are complete, and are the actual hung threads, then it appears you're hanging on socket input from the internet, which is typically a kernel-level issue. It's very often that socket issues are caused by anti-virus - have you updated the av recently? We see socket communicatations problem very frequently with McAfee. - Matt Small >Your error originates in your onRequestStart() Application.cfc, line 85. > First, I'd try to debug around that line. > >If you can't figure it out from there, try opening >\frameworks\coldbox\3_1\system\FrameworkSupertype.cfc >and looking around line 364. This may give you a clue of what the >framework is doing at the moment it hangs and might help give you a better >hint about what is going on. > >-Cameron > > > >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349902 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: (ot) Mobile Modal Dialogs Trouble
On Tue, Feb 14, 2012 at 2:34 PM, Rick Faircloth wrote: > Any change I can have a look at the site you're deploying > to production, today? I wish. It's an internal app for a customer. The app manages billable time and projects for 15 or so offices across the US. Works on Droid/iOS as well as desktop. -Cameron ... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349901 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
skEdit Express for CFML
Hello gang. Is there anyone using skEdit Express and have an opinion on it? (I'm on Mac OS Lion) Thanks!!! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349900 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Password to Oracle datasource keep getting reset
Just an outside chance. At one point we experienced odd behaviour similar to this and it was due to CF Admin settings being archived on one machine and then restored on new machines. It seemed that unless you manually went and re-saved the settings after restoration, the settings would intermittently do weird things like you've described. A shot in the dark, but sometimes those are magic ;-) Cheers On Wed, 2012-02-15 at 05:52 -0500, Nathan Moore wrote: > Has anyone experienced or can advise on this one? > > It would appear that around about every 6 weeks the development version of an > intranet I maintain goes down with a DSN username/password error. I verify > the datasource in the CF admin and sure enough the password is somehow no > longer valid. > > I refer back to the password I have manually recorded, reenter, verify it and > it's fine. > > I do not experience the same problem on the test and live environments > despite all three evironments being identical in terms of CF version, Oracle > 10g DB and codebase. > > Any advise would be much appreciated. > > Thanks in advance. > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349899 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Password to Oracle datasource keep getting reset
Has anyone experienced or can advise on this one? It would appear that around about every 6 weeks the development version of an intranet I maintain goes down with a DSN username/password error. I verify the datasource in the CF admin and sure enough the password is somehow no longer valid. I refer back to the password I have manually recorded, reenter, verify it and it's fine. I do not experience the same problem on the test and live environments despite all three evironments being identical in terms of CF version, Oracle 10g DB and codebase. Any advise would be much appreciated. Thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349898 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm