The reason I asked is that:
>>cgi.http_user_agent Java1.3.0
was reported in the error message cftry/cfcatch sent me when the user
accessed my website and threw an error, and I cannot see what caused the
error. I cannot replicate the error with IE or Netscape.
The error was thrown when the browser incorrectly parsed the following:
<CFSET SOG_DSN = 0>
..
..
..
<CFIF SOG_DSN>
..
..
<CFSET REQUEST.CLIENT_DSN = "ClientDataSOG" >
..
..
<CFELSE>
..
..
<CFSET REQUEST.CLIENT_DSN = "ClientDataTAG" >
..
..
..
</CFIF>
And (correctly) failed to find a DSN named "ClientDataSOG"
best, paul
At 03:07 AM 6/12/01 -0400, you wrote:
>Nope, it's the user_agent string that java uses when accessing a web
>site, if it is unspecified in the program.
>Here is a quickie program I wrote to output the agent string that my web
>server gets when you hit it.
>I'm using 1.3.0_02 ;-)
>
>jon
>
>import java.net.*;
>import java.io.*;
>class GetURL {
> public static void main(String args[]) {
> try {
> URL u = new URL("http://65.32.170.177/t/agent.cfm");
> InputStream in = u.openStream();
> int b;
> while ((b = in.read()) != -1) {
> System.out.write(b);
> }
> in.close();
> }
> catch (MalformedURLException e) {System.out.println(e);}
> catch (IOException e) {System.out.println(e);}
> }
>}
>
>
>Nick Texidor wrote:
>
> >Could be the Java Browser from Sun.. HotJava I think it's called.
> >
> >N
> >
> >
> >
> >
> >At 5:11 PM -0700 6/11/01, Paul Smith wrote:
> >
> >>cgi.http_user_agent Java1.3.0
> >>
> >>What is Java1.3.0?
> >>
> >>best, paul
> >>
> >
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists