why don't you just try it?
-----Original Message-----
From: David Adams [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 22, 2001 9:16 AM
To: CF-Talk
Subject: Question: Using CFHTTP to Masquerade
Because of my environment, I am only allowed one port for my webserver,
which is port 80, and I would like to include a search interface on my site,
running on port 90. Can I use CFHTTP to masquerade?
This is the code I would normally use to access my search server, if I had
the freedom to have an additional port:
<FORM METHOD="GET" ACTION="http://mysearchserver:90/compass">
<INPUT TYPE="text" NAME="scope">
<INPUT TYPE="submit" VALUE="SEARCH">
<INPUT TYPE="hidden" NAME="ui" VALUE="sr">
</FORM>
Here is the code structure for CFHTTP:
<CFHTTP
URL="hostname"
PORT="port_number"
METHOD="get_or_post"
USERNAME="username"
PASSWORD="password"
NAME="queryname"
COLUMNS="query_columns"
PATH="path"
FILE="filename"
DELIMITER="character"
TEXTQUALIFIER="character"
RESOLVEURL="Yes/No"
PROXYSERVER="hostname"
PROXYPORT="port_number"
USERAGENT="user_agent"
THROWONERROR="Yes/No"
REDIRECT="Yes/No"
TIMEOUT="timeout_period">
</CFHTTP>
Is this possible, and what would my CFHTTP code look like?
Dave Adams
CFUG OTTAWA, CANADA
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists