Re: Client IP number?
Denis Stanton <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
On 23/02/2006, at 10:12 AM, Jon Nolan wrote:
> Denis Stanton wrote:
>>
>> String hostString = context().request().headerForKey
>> ("host");
<snip>
>
> Aren't host and/or http_host going to get you the server name?
Thanks Jon
You are right of course. My bad. I scanned an old project
hurriedly, found the wrong pice of code and pasted it. :-(
I think someone else has given the correct answer, so I'll just go
and up my caffeine level and see if that helps
Denis