Can I access ColdFusion session inside JQuery?
问题 I have a ColdFusion page for login. The click of the login button is being handled by a JQuery function. The authentication itself is fake and is happening inside the function itself. Once that is successful, I load contents from another ColdFusion page into the first page. Can I, in any way, set a variable in the ColdFusion session from JQuery? 回答1: in the strictest sense of the question, no, jQuery/javaScript can't access ColdFusion variables directly, Kevin B is correct. However, you can