Jeff,

If you want to pass in some test data you need some kind of "custom"
browser or HTTP client that lets you set some headers when making
requests to your page. There are a few of these around, or you could
write a simple Java/VB app to do it. Alternatively, a load testing tool
(probably overkill) e.g. MS WAS lets you set some headers.

André

-----Original Message-----
From: Jeff Chastain [mailto:[EMAIL PROTECTED]] 
Sent: 18 February 2003 16:50
To: CF-Talk
Subject: RE: Set HTTP Headers

The headers that are sent by the browser are all that I am interested in
at
this point.  I am just trying to figure out how to pass in some test
data.

Thanks
-- Jeff

-----Original Message-----
From: Matthew Fusfield [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 18, 2003 10:47 AM
To: CF-Talk
Subject: RE: Set HTTP Headers


Jeff,
You might want to try a tool like HTTP Analyzer (www.coolfusion.com) It
will
easily let you see what you are sending down to the browser.
getHTTPRequestData() will only show you what the browser sends you when
it
makes its request.

Matt

-----Original Message-----
From: Jeff Chastain [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 18, 2003 11:27 AM
To: CF-Talk
Subject: Set HTTP Headers


I am working on a project where I need to create a new HTTP Header
variable.
I thought this was what the cfheader tag was for, but I am not being
able to
make it work.  What am I missing here?
 
<cfheader name="testVar" value="testVarValue">
 
When I do ....
 
<cfset x = getHTTPRequestData()>
<cfdump var="#x#">
 
... I do not see the testVar header.
 
Thanks
-- Jeff




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to