openbd

Difference between AUTH_USER and REMOTE_USER cgi variables

倖福魔咒の 提交于 2020-01-03 11:32:51
问题 The docs aren't entirely clear on this - is there a difference between these variables? On IIS at least they appear to be identical, but I don't want to rely on that if it might be different under other servers. 回答1: According to the Adobe ColdFusion documentation they are the same. http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Expressions_8.html Looking at the openbd source code, the remote_user and the auth_user are mapped to the same key, so it returns the same value.

When should I use # in ColdFusion?

偶尔善良 提交于 2019-12-23 06:57:02
问题 This has been one of the biggest obstacles in teaching new people ColdFusion. When to use # is ambiguous at best. Since using them doesn't often create a problem it seems that most people gravitate to using them too much. So, what are the basic rules? 回答1: I think it may be easier to say where NOT to use #. The only place is in cfif statements, and cfset statements where you are not using a variable to build a string in quotes. You would need to use the # sign in almost all other cases.

What Notable Differences are there between Railo, Open Bluedragon, and Adobe Coldfusion?

馋奶兔 提交于 2019-12-06 20:17:10
问题 An attempt to capture notable differences between implementations: Adobe ColdFusion Railo Open Bluedragon (I'm aware of Smith, but don't believe it's still active). Include CFML and platform differences - syntax, feature, and extensibility. Note, this is not something I've not seen anywhere else, but maybe I'm just not searching correctly. So links to that end would count too. Update Here's my definition of notable in this context: something that simplifies solving a difficult problem. For

What Notable Differences are there between Railo, Open Bluedragon, and Adobe Coldfusion?

耗尽温柔 提交于 2019-12-05 01:36:20
An attempt to capture notable differences between implementations: Adobe ColdFusion Railo Open Bluedragon (I'm aware of Smith , but don't believe it's still active). Include CFML and platform differences - syntax, feature, and extensibility. Note, this is not something I've not seen anywhere else, but maybe I'm just not searching correctly. So links to that end would count too. Update Here's my definition of notable in this context: something that simplifies solving a difficult problem. For example, Railo offers the <cfvideo> tag, which transcodes video - a non trivial task. Something I would

How to do a cfdump inside a cfscript tag?

我是研究僧i 提交于 2019-12-01 14:56:41
In order to debug I would like to dump certain variables on to my web page. How can I do that from inside a cfscript tag? I tried the following but it isn't working: <cfscript> ... <cfif cgi.REMOTE_ADDR eq "IP"> <cfdump var="#var1#"><br/> </cfif> ... </cfscript> Any clues on what can be done? ale You can't do it directly like that in versions before CF 9. You can, however, use the dump() UDF found at CFLib. There's a whole library of UDFs there that mimic CF tags that don't have direct CFSCRIPT equivalents. ColdFusion 9 (and up) offers the writeDump() function. Adobe Documentation Linkfor

How to do a cfdump inside a cfscript tag?

99封情书 提交于 2019-12-01 13:41:44
问题 In order to debug I would like to dump certain variables on to my web page. How can I do that from inside a cfscript tag? I tried the following but it isn't working: <cfscript> ... <cfif cgi.REMOTE_ADDR eq "IP"> <cfdump var="#var1#"><br/> </cfif> ... </cfscript> Any clues on what can be done? 回答1: You can't do it directly like that in versions before CF 9. You can, however, use the dump() UDF found at CFLib. There's a whole library of UDFs there that mimic CF tags that don't have direct