Re: Finding out client IP.

2005-11-30 Thread Gennady Kushnir
I know, i have Apache.but i don't have WO Server installod. and thus NO WOMonitor also.And please give me more info how to"can set the WOPort to the port which monitor has and the WOMonitorEnabled Yes" Thanks in advanceGennady On 30.11.2005, at 17:26, Seejo Pylappan wrote:by webserver I mean Apache

Re: Finding out client IP.

2005-11-30 Thread Gennady Kushnir
Thank you.But how do I deploy it locally using WebServer, while developing (just to test)?Should I install WO server on my developer machine? Thanks in advanceGennady On 30.11.2005, at 15:44, Seejo Pylappan wrote:You need to disable DirectConnect mode and then deploy the application using a WebServ

Re: Finding out client IP.

2005-11-30 Thread Tanmoy Roy
Hi Gennady, Please find below a code piece that we use for getting the client IP. public String getIpFromWOContext (WOContext iContext) { String aUserIP = null; if (iContext != null) { if (iContext.request() != null ) aUserIP = iContext.request().heade

Re: Finding out client IP.

2005-11-30 Thread Stefan Klein
Hi, take a look at http://wodev.spearway.com/cgi-bin/WebObjects/WODev.woa/wa/Main?wikiPage=BrowserIPAddress Greetings Stefan Gennady Kushnir schrieb: Hello, List. Can WO somehow realize, from what IP the request is received? I need to restrict some functions of my app to be avai

Re: Finding out client IP.

2005-11-30 Thread Seejo Pylappan
You need to disable DirectConnect mode and then deploy the application using a WebServer to get those headers.-SeejoOn Nov 30, 2005, at 7:38 AM, Gennady Kushnir wrote:Hello, List.Can WO somehow realize, from what IP the request is received?I need to restrict some functions of my app to be available

Finding out client IP.

2005-11-30 Thread Gennady Kushnir
Hello, List.Can WO somehow realize, from what IP the request is received?I need to restrict some functions of my app to be available from internal LAN only.The method proposed in "Practical WebObjects" does not work.And I can't find any WORequest's header containing client IP.I made all headers (pu