I recently found that in remote ColdFusion functions invoked by Flash Remoting, I was not able to get the client's IP address from the CGI variable CGI.REMOTE_ADDR or CGI.REMOTE_HOST, however I was able to get it in Java by using getPageContext().getRequest().getRemoteAddr(). Strange, huh? I haven't check Red Sky for the same issue yet, so it might have been resolved (I'll try that this afternoon), but for how, getPageContext() saves the day once again.
=========
明天在我机器上测试一下,嘿嘿.这个还是比较有用的.
比如:
我同时检测 CGI.REMOTE_ADDRR 跟getPageContext().getRequest().getRemoteAddr(). Strange.如果2个都能检测出,那说明肯定不是通过FLASH传递参数的嘛.
不过也许这会有漏洞