Is the user agent value hard coded as in your example or is it dynamic?
Because if it's dynamic, than there may be some minor logic flaw in
generating its value that causes it to be appended to the previous value
instead of overwriting it.

Just a thought (and a question, I guess 8^>).

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -----Original Message-----
> From: Benekli [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 12, 2002 10:43 PM
> To: CF-Talk
> Subject: cfhttp useragent bug?
>
>
> Using cfhttp with the useragent defined inside of a loop
> iterates a useragent "list" on the webserver logs. Any
> suggestions on how to stop the madness?
>
> -the code:
>
> <cfhttp method="get" url="http://127.0.0.1"; useragent="FOO"></cfhttp>
> <cfhttp method="get" url="http://127.0.0.1"; useragent="FOO"></cfhttp>
> <cfhttp method="get" url="http://127.0.0.1"; useragent="FOO"></cfhttp>
> <cfhttp method="get" url="http://127.0.0.1"; useragent="FOO"></cfhttp>
>
> <cfloop from="0" to="3" index="i">
> <cfhttp method="get" url="http://127.0.0.1"; useragent="BLAH"></cfhttp>
> </cfloop>
>
> -truncated results from the log file:
>
> 127.0.0.1 80 GET / - 200 0 449 138 1 HTTP/1.1 127.0.0.1 FOO - -
> 127.0.0.1 80 GET / - 200 0 449 138 1 HTTP/1.1 127.0.0.1 FOO - -
> 127.0.0.1 80 GET / - 200 0 449 138 0 HTTP/1.1 127.0.0.1 FOO - -
> 127.0.0.1 80 GET / - 200 0 449 138 0 HTTP/1.1 127.0.0.1 FOO - -
> 127.0.0.1 80 GET / - 200 0 449 139 1 HTTP/1.1 127.0.0.1 BLAH - -
> 127.0.0.1 80 GET / - 200 0 449 144 0 HTTP/1.1 127.0.0.1 BLAH,BLAH - -
> 127.0.0.1 80 GET / - 200 0 449 149 0 HTTP/1.1 127.0.0.1 BLAH,BLAH,BLAH - -
> 127.0.0.1 80 GET / - 200 0 449 154 1 HTTP/1.1 127.0.0.1
> BLAH,BLAH,BLAH,BLAH - -
>
> Benekli22:41P12IX2002
>
> 
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to