Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set environment variable from request header?

Status
Not open for further replies.

Sirkent

Technical User
Apr 28, 2004
5
GB
Hi,

I'm trying to set an environment variable to be the same value as a request header. All I need to do is set the value of the environment variable to be the value of the header.

However, I can't find out how to do this...

If I try using set env and use %{HEADER_NAME} then I simply get the same text (%{HEADER_NAME}) as the value for the environment value.

I've searched the web extensively, but I can't find out anything on this. I would have thought that it must be possible?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top