Perfect! It works like a charm....
The documentation on CGI Environment Variables only refers to a set of variables to available. I does not describe that all http headers is readable thru HTTP_<header>.
Thanks!
/Brian
- Log in to post comments
Perfect! It works like a charm....
The documentation on CGI Environment Variables only refers to a set of variables to available. I does not describe that all http headers is readable thru HTTP_<header>.
Thanks!
/Brian
One little detail. Any dash (-) is converted to underscore (_) so the correct code in this example is:
set ipCountry=%request.GetCgiEnv("HTTP_CF_IPCOUNTRY")for a header called CF-IPCOUNTRY.