gpt4 book ai didi

coldfusion - Application.cfc : this. debugipaddress 和this.debuggingIPAddresses,有什么区别?

转载 作者:行者123 更新时间:2023-12-03 11:14:52 32 4
gpt4 key购买 nike

我看过Application.cfc的以下代码(需要调试的ip地址列表):

<!---seen in blogs and perhaps earlier versions of CF documentation, livedocs isn't working for CF 7 & 8 for me tonight--->
<cfset this.debugipaddress = "192.168.1.15,192.168.1.27">

<!--- documented in CF 9 & 10--->
<cfset this.debuggingIPAddresses = "192.168.1.15,192.168.1.27">

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-750b.html

http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-750b.html

我想知道这两个变量之间是否存在差异?我正在使用 ColdFusion 10,如果它们相同,是否会优先于另一个?也许 this.debugipaddress 已被弃用?

最佳答案

据我所知,这是一个文档错误。据雷Camden's blog以及其中的注释,应该是debuggingipaddresses 而不是debugipaddress。 Ray也用过here并指出有更正。

Pretty standard and he appears to have nailed everything. A part of me strongly wishes that Ben Forta would have never used UPPERCASE scope names in the WACK books so that my eyes wouldn't have to bleed every time I see someone else do that, but oh well :). One minor correction - this.debugipaddress is actually this.debuggingipaddresses (see here) - no points deducted for that since it's a doc bug. I also would have liked to have seen him mention the struct keys for smtpServerSettings ({server="",username="",password=""}).

关于coldfusion - Application.cfc : this. debugipaddress 和this.debuggingIPAddresses,有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16415337/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com