Is there a script equivalent of cflogin?
-
21-09-2019 - |
문제
Pretty much all of the ColdFusion language has been made available in 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