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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with HTTP_USER_AGENT

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi, I have encountered a strange problem and I can't seem to solve it. All of a sudden I can't get any value for the #cgi.http_user_agent#.

Have anyone else here had that problem or does anyone have an idea about what could be wrong. I get it to work in PHP and with the local webserver function so it must definitely be in coldfusion the problem is... that's as far as I narrowed it down :)

I can't seem to find any setting that have anything to do with it. Another strange thing is that it works when I run
the debug mode, but not when I call for it in a usual way.

/Jan Nordlund
 
Hey Jan,

That's an unusual one. If you'll post your code, I'll check it on my system and see if I get the same results. If it didn't work in debug mode, I would suspect that you have misspelled the variable name. Since it does work in debug mode though, I'm a little baffled.

GJ
 
Well, I have figured out it isn't a ColdFusion problem... it must be something with the webserver because it worked when I tried it on another server... hmm, but it's still confusing that it works in the debugmode...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top