Alan suggested you use a dump to see what you can get at - I don't think we was 
suggesting using a dump as a solution. I'm away from my computer but I have 
code that gets the server name that is cross compatilble with all of the cfml 
engines. You can look at the Mach-II dashboard code base available in trac at 
trac.mach-ii.com/machii in the browse source tab.

.Pjf


-----Original Message-----
From: Guillermo <[email protected]>
Sender: [email protected]
Date: Sat, 31 Jul 2010 07:40:13 
To: Open BlueDragon<[email protected]>
Reply-To: [email protected]
Subject: [OpenBD] Re: OpenBD class="jrunx.kernel.JRun" equivelant

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

-- 
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