문제

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top