Hi there,

On 09/09/2006, at 5:45 PM, Stephane Guyot wrote:

there is a non documented ( not yet public but perhaps in the future if Apple Open-souce WO :-) ) API on the WORequest : public String _serverName() WebObjects use it internally for the isSecure bindings on the WOHyperlink

The thing about web applications (as opposed to consumerism which states that the customer is invariably right) is that you cannot trust or consistently rely upon the incoming request for the correct information. There is not one header that consistently gives you the correct information on an incoming request; besides which virtual hosting makes it impossible to ascertain the correct info from an ip address.

In summary: *You* need to decide what domain your application is served under. Configure this using the WOHost property and the WOCGIAdaptorURL as previously stated...

HTH

with regards,
--

Lachlan Deck



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to