0 Replies Latest reply on Feb 27, 2008 4:36 AM by drmaves

    Setting Session Variables in CFSCRIPT and Javascript

    drmaves Level 1
      I need to set a session variable in <CFSCRIPT> and also standalone Javascript file.

      The <CFSCRIPT> statement looks like this:

      config.baseUrl = "/images/#session.name#/";

      This doesn't work, how do I use a session varable within <CFSCRIPT>?

      The Javascript file has a statement like this:

      FCKConfig.EditorAreaCSS = '/bc/main.css' ;

      How can I pass a session variable to be used instead of 'main.css'?

      Basically, two similar problems.

      Thanks in advance for any help you might give.