Re: Trouble retrieving client IP address in WO 5.2 more info
Re: Trouble retrieving client IP address in WO 5.2 more info
- Subject: Re: Trouble retrieving client IP address in WO 5.2 more info
- From: Chuck Hill <email@hidden>
- Date: Tue, 14 Jan 2003 16:11:28 -0800
- Organization: Global Village Consulting, Inc.
To make things more intriguing for developers of WebObjects, earlier developers
of the different adaptors named headers differently. This might have changed in
5.2, check and see if it is there under a different name. Also, not all
adaptors pass all the headers. I'd thought this was supposed to be fixed in
5.2, but I've not checked. Which adaptor are you using?
Chuck
mjew wrote:
One more piece of follow-up info regarding retrieving the client IP address
in a WO 5.2 app via the call:
clientIP = context().request().headerForKey("x-webobjects-remote-addr");
My current deployment is a split install (meaning that the web server
is NOT the application server). I'm wondering if this could have something
to do with it.
But it would be quite lame if using a split installation disabled access to
those header fields, since split installs are the recommended method for
scaling WebObjects applications across multiple servers for performance
and high availability.
Does anyone have any information about this?
- Matthew
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
--
Chuck Hill - Village Idiot email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.