Jose,
Well seeing as iMS has nothing to do with the HTTP protocol, I don't think you can
expect to see any HTTP-related headers :-) Are you trying to determine the IP/host
the client is connecting to? You should use form.LocalIP or form.LocalServer for
that from inside iMS templates. From the manual:
LocalServer The local server name as determined by reverse DNS lookup (determined
by the IP address that the remote server or client has connected to).
LocalIP The IP address that the remote server or client has connected to.
Hmm, I just notice you're talking about ReportPostStatus... not sure what you're
trying to determine there. Neither of the above would make sense in that situation I
think...
HTH,
-Max
At 6/8/2002 05:06 PM -0400, Jose Gosende wrote:
>I'm getting a CF error that I think may be due
>to the nature of how iMS works. However, I'm not
>sure how to work around it. Here's the scoop:
>I have the following code in my application.cfm
>file
><cfif http_host CONTAINS "xertcomms.com">
> do this
><cfelseif http_host CONTAINS "192.168.1.">
> do that
><cfelse>
> blah
></cfif>
>
>My ReportPostStatus template is throwing an error
>that looks like this:
>"Error near line 6, column 16.<HR><P>Error resolving parameter
><B>HTTP_HOST</B><P><P>ColdFusion was unable..."
>
>It's gotta do with the http_host variable.
>Can someone explain to me why I'm getting this error?
>http_host is an http header value that should always exist, regardless.
>Maybe I'm overlooking something?
>
>Thanks in advance.
>
>Jose
==^=======================================================
This list server is Powered by iMS
"The Swiss Army Knife of Mail Servers"
--------------------------------------
To leave this list please complete the form at
http://www.coolfusion.com/iMSSupport.cfm
Need an iMS Developer license? Sign up for a free license here:
http://www.coolfusion.com/iMSDevelopers.cfm
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [email protected]
==^=======================================================