application.cfc

railo application.cfc this.mappings not working

自古美人都是妖i 提交于 2019-12-04 01:42:57
问题 i am using the latest version of railo, and am trying to get the per-application mappings to work. this is what i am doing: <cfcomponent name="MyApp"> <cfset THIS.Name = "MyApp"> <cfset THIS.Mappings["/myapp"] = ExpandPath(".")> </cfcomponent> so, i am trying to be able to access components within this application folder through a myapp.* mappings rather than having to to rootapp.myapp.* (from what i understand, this component setup should then work. however, my components cannot be accessed

How do I secure CFID for PCI compliance?

浪子不回头ぞ 提交于 2019-12-01 07:34:29
We've been failing our PCI scans because ColdFusion has predictable CFIDs. The exact FAIL we get is "Predictable Cookie Session IDs". Now the CFTOKEN is no longer predictable since I've configured CF to use UUID for CFTOKEN, however, the CFID is still predictable and unaffected by any changes in CF Admin. I don't really know why the CFID being predictable is a threat, but they want us to fix it. I have been unable to find anything on the matter by googeling, and I'm really not sure what else to do. Has anyone else dealt with something like this? Any suggestions? EDIT:Here is what my

How do I secure CFID for PCI compliance?

谁说我不能喝 提交于 2019-12-01 05:53:20
问题 We've been failing our PCI scans because ColdFusion has predictable CFIDs. The exact FAIL we get is "Predictable Cookie Session IDs". Now the CFTOKEN is no longer predictable since I've configured CF to use UUID for CFTOKEN, however, the CFID is still predictable and unaffected by any changes in CF Admin. I don't really know why the CFID being predictable is a threat, but they want us to fix it. I have been unable to find anything on the matter by googeling, and I'm really not sure what else

ColdFusion Application.cfc - order of execution

核能气质少年 提交于 2019-11-30 19:27:19
I need a reality check - and hopefully an explanation (if my reality is wrong). The way the CF application framework evaluates things is this (my understanding) - request is passed to cfserver cf finds an application.cfm or cfc (based on traversing rules) application.cfc executes (if found) the THIS scope is set (a series of application specific vars can be set here but some are required - such as "applicationTimeout" - then a series of events takes place -and methods fired if needed. -- onApplicationStart() ----onSessionStart() ------onRequestStart() etc. so my questions 1) The THIS settings

ColdFusion Application.cfc - order of execution

旧城冷巷雨未停 提交于 2019-11-30 03:29:47
问题 I need a reality check - and hopefully an explanation (if my reality is wrong). The way the CF application framework evaluates things is this (my understanding) - request is passed to cfserver cf finds an application.cfm or cfc (based on traversing rules) application.cfc executes (if found) the THIS scope is set (a series of application specific vars can be set here but some are required - such as "applicationTimeout" - then a series of events takes place -and methods fired if needed. --

Extending application.cfc in a subdirectory

一世执手 提交于 2019-11-27 20:14:11
I have the following two files and would like the second to extend the first: wwwroot\site\application.cfc wwwroot\site\dir\application.cfc However, when I go to declare the component for the second file, I'm not sure what to put in the extends attribute. My problem is that several dev sites (with a shared SVN repository) are running off the same instance of ColdFusion , so I can't just create a mapping in the CF admin like so: <cfcomponent extends="site.application"> However, ColdFusion doesn't like: <cfcomponent extends="..application"> or any dynamic input like: <cfcomponent extends="

Extending application.cfc in a subdirectory

拜拜、爱过 提交于 2019-11-27 04:25:44
问题 I have the following two files and would like the second to extend the first: wwwroot\site\application.cfc wwwroot\site\dir\application.cfc However, when I go to declare the component for the second file, I'm not sure what to put in the extends attribute. My problem is that several dev sites (with a shared SVN repository) are running off the same instance of ColdFusion , so I can't just create a mapping in the CF admin like so: <cfcomponent extends="site.application"> However, ColdFusion