Date:  11/22/2017 05:38:24 AM Msg ID:  004912
From:  Art Bergquist Thread:  004912
Subject:  Development vs. Production web server
I'm working with both a development server as well as a production web server.
When accessing a web page from the development server, I'd like to change the background color of the web page to something other than white (e.g., yellow) to make it obvious to the users that they're in "test" mode (i.e., not looking at the production web page).  I'll have to do this JavaScript unless someone knows another way.
I currently have the code in an .FWx:
LOCAL llDevelopmentServer, lcDevelopmentServer
llDevelopmentServer = DevelopmentServer()
lcDevelopmentServer = TRANSFORM(m.llDevelopmentServer)
Response.Write('llDevelopmentServer = ' + m.lcDevelopmentServer + '<br>')

PUBLIC glDevelopmentServer, gcDevelopmentServer
glDevelopmentServer = DevelopmentServer()
gcDevelopmentServer = TRANSFORM(m.glDevelopmentServer)

Toward the bottom of that .FWx, I have the following JavaScript:

    <script type="text/javascript">
// alert('<%=lcDevelopmentServer%>');

(I got the above idea from Msg ID: 003653 / Thread: 003651 in the FoxWeb forum.)
Unfortunately, though, when I run the web page, I get a dialog that displays:
In other words, FoxWeb doesn't evaluate the gcDevelopmentServer memory variable.
Is there something obvious I'm missing? 
Art Bergquist