开发者

Is there a script equivalent of cflogin?

开发者 https://www.devze.com 2022-12-20 09:02 出处:网络
Pretty much all of the ColdFusion language has been made available i开发者_如何学JAVAn some form using the cfscript syntax in ColdFusion 9.One item that I have not be able to find, though, is whether

Pretty much all of the ColdFusion language has been made available i开发者_如何学JAVAn some form using the cfscript syntax in ColdFusion 9. One item that I have not be able to find, though, is whether or not there is a script equivalent to the cflogin tag.

If there isn't, is there maybe a workaround using flash remoting gateway?


<cflogin> in script style is not supported, but you can write your own.

For all supported tags in CF9 script, see: Extending ColdFusion Pages with CFML Scripting - What is supported in CFScript


why not roll your own. Write a function using the cf tag version, that uses cflogin then call that from cfscript as in

logUserIn(username, pass);

the method works for any cf tag that does not have its equivalent in cfscript.

hth, larry

0

精彩评论

暂无评论...
验证码 换一张
取 消