Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Charles R. Thompson #1
Reading Custom Headers in CFMX
I'm not sure if this is an IIS or CFMX issue apologies if I'm off base. I
have a custom middleware application running between the browser and an IIS
server running CFMX. In IIS' HTTP Header page I am inserting a custom header
for all requests called
assume_role
Where the value is 1
I cannot get this value when doing a dump of the headers from CFML. It also
does not appear in the list of ALL_HTTP as some documentation states is my
second place to check if I can't get it directly. Any ideas?
CT
Charles R. Thompson Guest
-
How to query a MDE Database for reading with CFMX?
Hi, I need to query a protected MDE Access Database, but I cannot select the DB in the CFMX Admin. What can I do? and how? Is there an other way... -
Reading CSV files in CFMX
This worked in CF5: <cfset myConnectString = "Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=" & ExpandPath("../Data/DataDir") &... -
Custom headers screwing up postback
I have a datagrid which has custom header added in in a grouping fashion as per so many articles. Works fine. in each normal row, there is a... -
Reading and Writing Headers
Gosh. I posted this earlier on Google Groups, but it didn't appear. Perhaps there was a problem at Google. Forgive me for posting it again. This... -
Writing/Reading Custom Headers
Tell me if this can be done, and if I have a misconception here. I am writing an app that will be served up in an app farm, and therefore I need... -
Alen #2
Re: Reading Custom Headers in CFMX
Make sure if IIS is acturely sending the header.
Alen Guest
-
Charles R. Thompson #3
Re: Reading Custom Headers in CFMX
Ok.. did a little more legwork. I need a way to insert 'Request' headers
into page redirect so I can evaluate that information in a validation page.
Something like:
<cfheader name="myname" value="charles">
<cflocation url="vars.cfm">
Then in vars.cfm be able to retrieve the header myname as a 'request' (not
response) object. I can see in my http traces that it only gets added to the
response each time.
Can I do this somehow manually in the CFMX configuration XML files? It's
just for temporary testing so however I have to hack it is fine.
Charles R. Thompson Guest
-
Charles R. Thompson #4
Re: Reading Custom Headers in CFMX
Scratch all this. I ended up using Proxomitron to fake the Request headers
required for testing. Appears to work fine.
Charles R. Thompson Guest



Reply With Quote

