开发者

CGI.http_user_agent is empty RAILO

I am trying to display CGI.http_user_agent using RAILO but for some reason it is empty. Has anyo开发者_如何学Gone else had this issue? Isn't this supposed to exist all of the time?

I have checked my logs and sometimes it exists and sometimes it does not.


The HTTP user agent is one of the headers["User-Agent"] a browser usually sends. It is neither required nor authoritative. Some browsers have options to fake to user agent (for example the blackberry browser), and others like cfhttp can be set to whatever the user wants.

If the browser does not send the header it will be blank in RAILO.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜