ColdFusion 10 中的客户端变量存在问题。当我在一个页面中创建客户端变量时,它只会影响该页面,并且我无法访问我的应用程序中另一个页面中的变量。这是来自 Application.cfc 的代码:
this.Name = "test";
this.ApplicationTimeout = CreateTimeSpan(0,0,0,0);
this.ClientManagement= "yes";
this.ClientStorage = "clientstorage";
this.SessionManagement = true;
this.SessionTimeout = CreateTimeSpan( 0, 0, 20, 0 );
this.SetClientCookies = "yes";
this.SetDomainCookies = "no";
this.ScriptProtect = "all";