Highlighted

request.currentsitename is undefined

New Here ,
Jul 20, 2014

Copy link to clipboard

Copied

  <cfset request.CURRENTSITENAME = "fatcate-juice.com">

I have this in Application.cfc.  Yet it shows as undefined.  Please help.

Views

152

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

request.currentsitename is undefined

New Here ,
Jul 20, 2014

Copy link to clipboard

Copied

  <cfset request.CURRENTSITENAME = "fatcate-juice.com">

I have this in Application.cfc.  Yet it shows as undefined.  Please help.

Views

153

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 20, 2014 0
BKBK LATEST
Adobe Community Professional ,
Jul 20, 2014

Copy link to clipboard

Copied

Where do you have it in Application.cfc? That is, in which of the functions? Where does it show as undefined? Normally, if you want a request variable to be available to a CFM page, the place to define it is in onRequestStart.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 20, 2014 0