APPLICATION variable is undefined when site is accessed from outside LAN
Windows server 2003, coldfusion 9
I recently dropped AT&T (yeah!) but was assigned a new
static IP from our new internet service provider (uh oh…).
We use a browser-based medical record system (old and no
longer supported) for a small medical practice. Inside the office LAN, it works
fine. I reconfigured our router with the new IP info and we can access the
internet fine. I port-forwarded incoming traffic to the server correctly, but
we can no longer log in to the site from outside the LAN. The login page should
be the first page to open (login.cfm).
I can reach the server from outside, but receive a
coldfusion error page which states “element COMPANYNAME is not defined in
APPLICATION”. “CompanyName” is just a part of the title of the login page – and
the login page is therefore never created.
As you can tell from my question, I know next to nothing
about CF (or javascript, or even html for that matter). But I don’t understand
why the site is no longer happy about a request from the router simply because
the static IP for the outside world has changed. Isn’t an APPLICATION
scope variable set from within the server? How do the LAN machine browsers
succeed where the outside browsers do not?
I am happy to be ridiculed for my ignorance as long as I
learn something. Thanks.
