I need the equivelant which runs in application.cfm to get the
servername so I can set a variable called "environment". dumps are not
the answer.

On Jul 31, 9:27 am, Alan Williamson <[email protected]> wrote:
> Try doing <cfdump var="#server#"> and see if there is anything in
> there for you.
>
> Also <cfdump var="#request#"> will show you the context you are in too
> if you are under j2EE
>
> On Jul 31, 3:25 pm, Guillermo <[email protected]> wrote:
>
>
>
> > Okay I cant seem to find out how to do this. I am looking for the
> > equivelant to the class jrunx.kenrel.JRun. It provides the method
> > getServerName() which I use to define if we are in dev or prod anyone
> > know what I would use in OpenBD? basically it just returns the context
> > path but there are other useful methods in that class.- Hide quoted text -
>
> - Show quoted text -

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 official manual: http://www.openbluedragon.org/manual/
 Ready2Run CFML http://www.openbluedragon.org/openbdjam/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to