You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Ganime Betül AKIN <ba...@ibb.gov.tr> on 2005/04/29 09:56:59 UTC
problem with cookie set by javascript
Hello,
I am trying to browse thru a site. The first page contains javascript
that checks my user-agent info and sets some cookies by using the following
document.cookie = "icaClientCode=" + icaClientCode;
document.cookie = "icaObjectCode=" + icaObjectCode;
document.cookie = "icaBrowserCode=" + icaBrowserCode;
document.cookie = "icaScreenResolution=" + strResolution
so, what I am doing it, I am manually setting the cookies
client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
"icaObjectCode", "1","/asp/", null,false));
client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
"icaClientCode", "1", "/asp/", null,false));
client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
"icaScreenResolution", "12800x960", "/asp/", null,false));
client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
"icaBrowserCode", "2","/asp/", null,false));
But when I post to the next page, I get the error
Internal Server Error
<font face="Arial" size=2>
<p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error
'800a000d'</font>
<p>
<font face="Arial" size=2>Type mismatch: 'icaObjectCode'</font>
<p>
<font face="Arial" size=2>/asp/include/login.vbs</font><font
face="Arial" size=2>, line 34</font>
well I managed to download this login.vbs and the problem seems to be in
the lines
Dim icaObjectCode
icaObjectCode = Request.Cookies("icaObjectCode")
If Len(icaObjectCode) > 0 Then
isIE = CBool(icaObjectCode = 1)
Else
isIE = false
End If
End Sub
it must be a mismatch with the value I assign to icaObjectCode. Bu how
do I get around this problem?
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
Re: problem with cookie set by javascript
Posted by Ganime Betül AKIN <ba...@ibb.gov.tr>.
Thanks a lot Oleg, that did the trick. Now I can succesfully browse
through the site.
Oleg Kalnichevski wrote:
>Ganime,
>
>As far as I am concerned HttpClient performs as advertised. All the
>cookies that you set manually get sent to the target server. The problem
>clearly lies on the server side and has nothing to do with HttpClient as
>such
>
>
>
>><< "HTTP/1.1 500 Internal Server Error[\r][\n]"
>>
>>
>...
>
>
>><< "<font face="Arial" size=2>Type mismatch: 'icaObjectCode'</font>[\n]"
>>
>>
>...
>
>
>><< "<font face="Arial" size=2>/asp/include/login.vbs</font><font face="Arial" size=2>, line
>>34</font> "
>>
>>
>...
>
>There's one last thing you may want to try, though. Try forcing all
>request cookies into one request header by setting
>'http.protocol.single-cookie-header' parameter to true and see if that
>makes any difference. For details see:
>
><http://jakarta.apache.org/commons/httpclient/3.0/cookies.html#Browser%
>20Compatibility>
>
>Hope this helps,
>
>Oleg
>
>On Mon, 2005-05-02 at 15:26 +0300, Ganime Betül AKIN wrote:
>
>
>>I did as you have told. It seems to me, when I set the cookie
>>"iaobjectcode" to "2", server-side script tries to make the comparison
>>
>> If Len(icaObjectCode) > 0 Then
>> isIE = CBool(icaObjectCode = 1)
>> Else
>>
>>
>>and it cannot match the string "2", to integer 1, hence the error, type
>>mismatch.
>>
>>Here is my source code:
>>
>>
>>
>>System.setProperty("org.apache.commons.logging.Log","org.apache.commons.logging.impl.SimpleLog");
>>
>>System.setProperty("org.apache.commons.logging.simplelog.showdatetime","true");
>>
>>System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire",
>>"debug");
>>
>>System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient",
>>"debug");
>> String LOGON_SITE = "https://3000xtra.glbl1.reuters.com";
>> int LOGON_PORT = 443;
>> boolean accountCreated = false;
>> String resposeBody;
>> HttpClient client = new HttpClient();
>> client.getHostConfiguration().setHost(LOGON_SITE, LOGON_PORT);
>> client.getHostConfiguration().setProxy("10.1.9.5", 8080);
>>
>>//
>> CookiePolicy.registerCookieSpec(CookiePolicy.BROWSER_COMPATIBILITY,
>>// CookieSpecBase.class);
>>
>> client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY);
>>
>> int statusCode =0;
>>//**********************************first go to
>>login.asp************************
>> GetMethod authget = new GetMethod(LOGON_SITE + "/asp/login.asp");
>> //authget.setFollowRedirects(true);
>> try {
>> statusCode = client.executeMethod(authget);
>> } catch (HttpException e) {
>> e.printStackTrace();
>> } catch (IOException e) {
>> e.printStackTrace();
>> }
>>
>> System.out.println(HttpStatus.getStatusText(statusCode));
>> System.out.println(authget.getResponseBodyAsString());
>> authget.releaseConnection();
>>
>>
>>//**********************************since the following is set by
>>javascrit, set them manually************************
>>
>> client.getState().addCookie(new
>>Cookie("3000xtra.glbl1.reuters.com", "icaObjectCode", "2","/asp/",
>>null,false));
>> client.getState().addCookie(new
>>Cookie("3000xtra.glbl1.reuters.com", "icaClientCode", "1", "/asp/",
>>null,false));
>> client.getState().addCookie(new
>>Cookie("3000xtra.glbl1.reuters.com", "icaScreenResolution", "12800x960",
>>"/asp/", null,false));
>> client.getState().addCookie(new
>>Cookie("3000xtra.glbl1.reuters.com", "icaBrowserCode", "2","/asp/",
>>null,false));
>>
>> /*authget = new GetMethod(LOGON_SITE + "/asp/login.asp");
>> //authget.setFollowRedirects(true);
>> try {
>> statusCode = client.executeMethod(authget);
>> } catch (HttpException e) {
>> e.printStackTrace();
>> } catch (IOException e) {
>> e.printStackTrace();
>> }
>>
>> System.out.println(HttpStatus.getStatusText(statusCode));
>> System.out.println(authget.getResponseBodyAsString());
>> // System.out.println("Login form get: " +
>>authget.getStatusLine().toString());
>> // release any connection resources used by the method
>> authget.releaseConnection();
>> */
>> // login to the admin console
>>
>>//**********************************perform a post to login.aso with
>>your user name and password***********************
>>
>> PostMethod authpost = new PostMethod(LOGON_SITE + "/asp/login.asp");
>> NameValuePair nvp0= new NameValuePair("LoginType","Explicit");
>> NameValuePair nvp1= new NameValuePair("user","user1");
>> NameValuePair nvp2= new NameValuePair("password","passwd1");
>> NameValuePair nvp3= new NameValuePair("domain","");
>> authpost.setRequestBody(new NameValuePair[] {nvp0, nvp1, nvp2,
>>nvp3});
>>
>> try {
>> statusCode = client.executeMethod(authpost);
>> } catch (HttpException ex) {
>> ex.printStackTrace();
>> } catch (IOException ex) {
>> ex.printStackTrace();
>> }
>> authpost.releaseConnection();
>>
>> System.out.println(HttpStatus.getStatusText(statusCode));
>>
>> statusCode = authpost.getStatusCode();
>> if ((statusCode == HttpStatus.SC_MOVED_TEMPORARILY) ||
>> (statusCode == HttpStatus.SC_MOVED_PERMANENTLY) ||
>> (statusCode == HttpStatus.SC_SEE_OTHER) ||
>> (statusCode == HttpStatus.SC_TEMPORARY_REDIRECT)) {
>> Header header = authpost.getResponseHeader("location");
>> if (header != null) {
>> String newuri = header.getValue();
>> if ((newuri == null) || (newuri.equals(""))) {
>> newuri = "/";
>> }
>>
>>//**********************************it will forward to
>>frameset.asp***********************
>>
>> // System.out.println("Redirect target: " + newuri);
>> GetMethod redirect = new GetMethod(LOGON_SITE + "/asp/"
>>+newuri);
>> redirect.setFollowRedirects(true);
>>
>> try {
>> statusCode = client.executeMethod(redirect);
>> } catch (HttpException e2) {
>> e2.printStackTrace();
>> } catch (IOException e2) {
>> e2.printStackTrace();
>> }
>>
>> System.out.println(redirect.getResponseBodyAsString());
>> // System.out.println("Redirect: " +
>>redirect.getStatusLine().toString());
>> // release any connection resources used by the
>>method
>> redirect.releaseConnection();
>> } else {
>> System.out.println("invalid redirect");
>> }
>> }
>>
>> Cookie[] cookies = client.getState().getCookies();
>> for (int i=0;i<cookies.length;i++) {
>> Cookie cookie = cookies[i];
>> if(cookie.getName().equals("NFuseUseSavedFolder")) {
>> cookie.setValue("On");
>> break;
>> }
>> }
>>
>>//**********************************this is my real target. I have done
>>everything above to reach this page but in the end, I get an loginid
>>error***********************
>>
>> GetMethod creatUser = new GetMethod(LOGON_SITE + "/asp/launch.asp");
>> creatUser.setFollowRedirects(true);
>> // Prepare login parameters
>> NameValuePair action1 = new NameValuePair("NFuse_Application",
>>"3000x0020Xtrax0020452");
>> NameValuePair action2 = new
>>NameValuePair("NFuse_AppFriendlyNameURLEncoded", "3000x0020Xtrax0020452");
>>
>> creatUser.setQueryString(
>> new NameValuePair[] {action1, action2});
>>
>> try {
>> statusCode = client.executeMethod(creatUser);
>>
>> System.out.println(creatUser.getResponseBodyAsString());
>> } catch (HttpException e1) {
>> // TODO Auto-generated catch block
>> e1.printStackTrace();
>> } catch (IOException e1) {
>> // TODO Auto-generated catch block
>> e1.printStackTrace();
>> }
>> System.out.println(HttpStatus.getStatusText(statusCode));
>> creatUser.releaseConnection();
>>
>> int statuscode2 = creatUser.getStatusCode();
>> if ((statuscode2 == HttpStatus.SC_MOVED_TEMPORARILY) ||
>> (statuscode2 == HttpStatus.SC_MOVED_PERMANENTLY) ||
>> (statuscode2 == HttpStatus.SC_SEE_OTHER) ||
>> (statuscode2 == HttpStatus.SC_TEMPORARY_REDIRECT)) {
>> Header header = creatUser.getResponseHeader("location");
>> if (header != null) {
>> String newuri = header.getValue();
>> if ((newuri == null) || (newuri.equals(""))) {
>> newuri = "/";
>> }
>> accountCreated = true;
>> GetMethod redirect = new GetMethod(newuri);
>>
>> try {
>> client.executeMethod(redirect);
>> } catch (HttpException e2) {
>> e2.printStackTrace();
>> } catch (IOException e2) {
>> e2.printStackTrace();
>> }
>> redirect.releaseConnection();
>> } else {
>> System.out.println("invalid redirect 2");
>> }
>> }
>> }
>>
>>*******************************************************************
>>
>>here is where the error occurs in login.vbs
>>
>>
>> logonMode = Request.Cookies("NFuseLogin")("NFuse_LogonMode")
>> Dim icaObjectCode
>> icaObjectCode = Request.Cookies("icaObjectCode")
>> If Len(icaObjectCode) > 0 Then
>> isIE = CBool(icaObjectCode = 1)
>> Else
>> isIE = false
>> End If
>>
>>
>>**********************************************************************
>>and here is the log
>>
>>
>>
>>
>>
>>2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Java version: 1.4.2_08
>>2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Java vendor: Sun
>>Microsystems Inc.
>>2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Java class path:
>>C:\workspace\KIK;C:\workspace\HTTPCLIENT;C:\eclipse\jar\commons-codec-1.3\commons-codec-1.3.jar;C:\eclipse\jar\commons-logging-1.0.4\commons-logging-api.jar;C:\eclipse\jar\commons-logging-1.0.4\commons-logging.jar
>>2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Operating system name:
>>Windows 2000
>>2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Operating system
>>architecture: x86
>>2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Operating system
>>version: 5.0
>>2005/05/02 15:20:15:203 EEST [DEBUG] HttpClient - SUN 1.42: SUN (DSA
>>key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom;
>>X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX
>>CertPathBuilder; LDAP, Collection CertStores)
>>2005/05/02 15:20:15:218 EEST [DEBUG] HttpClient - SunJSSE 1.42: Sun JSSE
>>provider(implements RSA Signatures, PKCS12, SunX509 key/trust factories,
>>SSLv3, TLSv1)
>>2005/05/02 15:20:15:218 EEST [DEBUG] HttpClient - SunRsaSign 1.42: SUN's
>>provider for RSA signatures
>>2005/05/02 15:20:15:218 EEST [DEBUG] HttpClient - SunJCE 1.42: SunJCE
>>Provider (implements DES, Triple DES, AES, Blowfish, PBE,
>>Diffie-Hellman, HMAC-MD5, HMAC-SHA1)
>>2005/05/02 15:20:15:218 EEST [DEBUG] HttpClient - SunJGSS 1.0: Sun
>>(Kerberos v5)
>>2005/05/02 15:20:15:218 EEST [DEBUG] DefaultHttpParams - Set parameter
>>http.useragent = Jakarta Commons-HttpClient/3.0-rc2
>>2005/05/02 15:20:15:218 EEST [DEBUG] DefaultHttpParams - Set parameter
>>http.protocol.version = HTTP/1.1
>>2005/05/02 15:20:15:218 EEST [DEBUG] DefaultHttpParams - Set parameter
>>http.connection-manager.class = class
>>org.apache.commons.httpclient.SimpleHttpConnectionManager
>>2005/05/02 15:20:15:234 EEST [DEBUG] DefaultHttpParams - Set parameter
>>http.protocol.cookie-policy = rfc2109
>>2005/05/02 15:20:15:234 EEST [DEBUG] DefaultHttpParams - Set parameter
>>http.protocol.element-charset = US-ASCII
>>2005/05/02 15:20:15:234 EEST [DEBUG] DefaultHttpParams - Set parameter
>>http.protocol.content-charset = ISO-8859-1
>>2005/05/02 15:20:15:234 EEST [DEBUG] DefaultHttpParams - Set parameter
>>http.method.retry-handler =
>>org.apache.commons.httpclient.DefaultHttpMethodRetryHandler@1815859
>>2005/05/02 15:20:15:250 EEST [DEBUG] DefaultHttpParams - Set parameter
>>http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE,
>>dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy
>>HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE
>>dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy
>>HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss z,
>>EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy
>>HH:mm:ss z]
>>2005/05/02 15:20:15:250 EEST [DEBUG] DefaultHttpParams - Set parameter
>>http.protocol.cookie-policy = compatibility
>>2005/05/02 15:20:15:312 EEST [DEBUG] HttpConnection - Open connection to
>>10.1.9.5:8080
>>2005/05/02 15:20:15:328 EEST [DEBUG] header - >> "CONNECT
>>3000xtra.glbl1.reuters.com:443 HTTP/1.1"
>>2005/05/02 15:20:15:328 EEST [DEBUG] HttpMethodBase - Adding Host
>>request header
>>2005/05/02 15:20:15:328 EEST [DEBUG] header - >> "User-Agent: Jakarta
>>Commons-HttpClient/3.0-rc2[\r][\n]"
>>2005/05/02 15:20:15:328 EEST [DEBUG] header - >> "Host:
>>3000xtra.glbl1.reuters.com[\r][\n]"
>>2005/05/02 15:20:15:328 EEST [DEBUG] header - >> "Proxy-Connection:
>>Keep-Alive[\r][\n]"
>>2005/05/02 15:20:15:343 EEST [DEBUG] header - >> "[\r][\n]"
>>2005/05/02 15:20:15:609 EEST [DEBUG] header - << "HTTP/1.1 200
>>Connection established[\r][\n]"
>>2005/05/02 15:20:15:609 EEST [DEBUG] header - << "Via: 1.1 TEST, 1.1
>>PROXY3[\r][\n]"
>>2005/05/02 15:20:15:625 EEST [INFO] HttpMethodBase - Response content
>>length is not known
>>2005/05/02 15:20:15:625 EEST [DEBUG] HttpMethodBase - Force-close
>>connection: true
>>2005/05/02 15:20:15:625 EEST [DEBUG] ConnectMethod - CONNECT status code 200
>>2005/05/02 15:20:15:625 EEST [DEBUG] HttpConnection - Secure tunnel to
>>3000xtra.glbl1.reuters.com:443
>>2005/05/02 15:20:15:734 EEST [DEBUG] header - >> "GET /asp/login.asp
>>HTTP/1.1[\r][\n]"
>>2005/05/02 15:20:15:750 EEST [DEBUG] HttpMethodBase - Adding Host
>>request header
>>2005/05/02 15:20:15:750 EEST [DEBUG] header - >> "User-Agent: Jakarta
>>Commons-HttpClient/3.0-rc2[\r][\n]"
>>2005/05/02 15:20:15:750 EEST [DEBUG] header - >> "Host:
>>3000xtra.glbl1.reuters.com[\r][\n]"
>>2005/05/02 15:20:15:750 EEST [DEBUG] header - >> "[\r][\n]"
>>2005/05/02 15:20:17:218 EEST [DEBUG] header - << "HTTP/1.1 302 Object
>>moved[\r][\n]"
>>2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Server:
>>Microsoft-IIS/5.0[\r][\n]"
>>2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Date: Mon, 02 May 2005
>>12:18:13 GMT[\r][\n]"
>>2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Location:
>>redirect.asp[\r][\n]"
>>2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Content-Length:
>>121[\r][\n]"
>>2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Content-Type:
>>text/html[\r][\n]"
>>2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Set-Cookie:
>>NFuseUseSavedFolder=Off; path=/asp[\r][\n]"
>>2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Set-Cookie:
>>ASPSESSIONIDQAQRRRCD=JNMAKGNBIAGHAJBHLGGHBAPN; path=/[\r][\n]"
>>2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Cache-control:
>>private[\r][\n]"
>>2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodBase - Cookie accepted:
>>"NFuseUseSavedFolder=Off"
>>2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodBase - Cookie accepted:
>>"ASPSESSIONIDQAQRRRCD=JNMAKGNBIAGHAJBHLGGHBAPN"
>>2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodDirector - Redirect required
>>2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodDirector - Redirect
>>requested to location 'redirect.asp'
>>2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodDirector - Redirect URI
>>is not absolute - parsing as relative
>>2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodDirector - Redirecting
>>from 'https://3000xtra.glbl1.reuters.com:443/asp/login.asp' to
>>'https://3000xtra.glbl1.reuters.com:443/asp/redirect.asp
>>2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodDirector - Execute
>>redirect 1 of 100
>>2005/05/02 15:20:17:687 EEST [DEBUG] content - << "<head><title>Object m"
>>2005/05/02 15:20:17:687 EEST [DEBUG] content - << "oved</title></head>[\n]"
>>2005/05/02 15:20:17:687 EEST [DEBUG] content - << "<body><h1>Object
>>Moved</h1>This object may be found <a HREF="">here</a>.</body>[\n]"
>>2005/05/02 15:20:17:687 EEST [DEBUG] HttpMethodBase - Resorting to
>>protocol version default close connection policy
>>2005/05/02 15:20:17:703 EEST [DEBUG] HttpMethodBase - Should NOT close
>>connection, using HTTP/1.1
>>2005/05/02 15:20:17:703 EEST [DEBUG] HttpConnection - Connection is
>>locked. Call to releaseConnection() ignored.
>>2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "GET /asp/redirect.asp
>>HTTP/1.1[\r][\n]"
>>2005/05/02 15:20:17:718 EEST [DEBUG] HttpMethodBase - Adding Host
>>request header
>>2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "User-Agent: Jakarta
>>Commons-HttpClient/3.0-rc2[\r][\n]"
>>2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "Host:
>>3000xtra.glbl1.reuters.com[\r][\n]"
>>2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "Cookie:
>>NFuseUseSavedFolder=Off[\r][\n]"
>>2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "Cookie:
>>ASPSESSIONIDQAQRRRCD=JNMAKGNBIAGHAJBHLGGHBAPN[\r][\n]"
>>2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "[\r][\n]"
>>2005/05/02 15:20:18:062 EEST [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
>>2005/05/02 15:20:18:062 EEST [DEBUG] header - << "Server:
>>Microsoft-IIS/5.0[\r][\n]"
>>2005/05/02 15:20:18:062 EEST [DEBUG] header - << "Date: Mon, 02 May 2005
>>12:18:14 GMT[\r][\n]"
>>2005/05/02 15:20:18:062 EEST [DEBUG] header - << "Content-Length:
>>8647[\r][\n]"
>>2005/05/02 15:20:18:062 EEST [DEBUG] header - << "Content-Type:
>>text/html[\r][\n]"
>>OK
>>2005/05/02 15:20:18:062 EEST [DEBUG] header - << "Cache-control:
>>private[\r][\n]"
>>2005/05/02 15:20:18:062 EEST [DEBUG] HttpMethodBase - Buffering response
>>body
>>2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:406 EEST [DEBUG] content - << "<html>[\r][\n]"
>>2005/05/02 15:20:18:406 EEST [DEBUG] content - << "<HEAD>[\r][\n]"
>>2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[0x9]<META
>>HTTP-EQUIV="Set-Cookie" VALUE="NFuseData=; expires=29-Nov-1997 12:00:00
>>GMT; path=/;">[\r][\n]"
>>2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[0x9]<SCRIPT
>>Language="JavaScript" type="text/javascript">[\r][\n]"
>>2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[0x9]<!--[\r][\n]"
>>2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[0x9]// Pull
>>userAgent from browser.[\r][\n]"
>>2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]var usrAgt =
>>navigator.userAgent.toLowerCase();[\r][\n]"
>>2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]// isApplet is
>>automatically set by the NFuse Web Site Wizard.[\r][\n]"
>>2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]var isApplet =
>>false;[\r][\n]"
>>2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]//
>>#########################[\r][\n]"
>>2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]// ### BROWSER
>>DETECTION ###[\r][\n]"
>>2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]//
>>#########################[\r][\n]"
>>2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]//
>>booleans:[\r][\n]"
>>2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]// ie :
>>Internet Explorer[\r][\n]"
>>2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9]// nav :
>>Netscape Navigator[\r][\n]"
>>2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9]// A small
>>percentage of IE browsers return 'Internet Explorer' instead of 'MSIE'
>>in usrAgt.[\r][\n]"
>>2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9]var ie
>>=((usrAgt.indexOf("msie")!=-1)[\r][\n]"
>>2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9][0x9] ||
>>(usrAgt.indexOf("Internet Explorer")!=-1));[\r][\n]"
>>2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9]// A small
>>percentage of IE browsers do not include 'compatible' in usrAgt; also
>>check for 'MSIE'.[\r][\n]"
>>2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9]var nav
>>=((usrAgt.indexOf('mozilla')!=-1)[\r][\n]"
>>2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9] &&
>>(usrAgt.indexOf('msie')==-1)[0x9] [\r][\n]"
>>2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9] &&
>>(usrAgt.indexOf('spoofer')==-1)[\r][\n]"
>>2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9] &&
>>(usrAgt.indexOf('compatible')==-1)[\r][\n]"
>>2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9] &&
>>(usrAgt.indexOf('opera')==-1)[\r][\n]"
>>2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9] &&
>>(usrAgt.indexOf('webtv')==-1));[\r][\n]"
>>2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9]//
>>##########################[\r][\n]"
>>2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9]// ### PLATFORM
>>DETECTION ###[\r][\n]"
>>2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9]//
>>##########################[\r][\n]"
>>2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9]//
>>booleans:[\r][\n]"
>>2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// osWin32
>>osSun osLinux[\r][\n]"
>>2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// osWin16
>>osSgi osSco[\r][\n]"
>>2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// osOs2
>>osHpux osTru64[\r][\n]"
>>2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// osMac
>>osAix osUnix[\r][\n]"
>>2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// 32-BIT
>>WINDOWS[\r][\n]"
>>2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// Native:
>>32-bit ICA Client || Web: ActiveX ICA Client if (ie=true), 32-bit
>>Plug-in ICA Client if (nav=true)[\r][\n]"
>>2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]//
>>http://download.citrix.com/cgi-bin/license.cgi?client=w32[\r][\n]"
>>2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9] osWin32 =
>>(((usrAgt.indexOf("win95")!=-1) ||[\r][\n]"
>>2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
>>(usrAgt.indexOf("windows 95")!=-1) ||[\r][\n]"
>>2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
>>(usrAgt.indexOf("win98")!=-1) ||[\r][\n]"
>>2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
>>(usrAgt.indexOf("windows 98")!=-1)) || [\r][\n]"
>>2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
>>((usrAgt.indexOf("winnt")!=-1) ||[\r][\n]"
>>2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
>>(usrAgt.indexOf("windows nt")!=-1)) ||[\r][\n]"
>>2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
>>((this.major >= 4) &&[\r][\n]"
>>2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
>>(navigator.platform == "Win32")) ||[\r][\n]"
>>2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
>>(usrAgt.indexOf("win32")!=-1) ||[\r][\n]"
>>2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]
>>(usrAgt.indexOf("32bit")!=-1)); [\r][\n]"
>>2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]// 16-BIT
>>WINDOWS[\r][\n]"
>>2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]// Native:
>>Win16 ICA Client || Web: 16-bit Plug-in ICA Client if (ie || nav)[\r][\n]"
>>2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]//
>>http://download.citrix.com/cgi-bin/license.cgi?client=w16[\r][\n]"
>>2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9] osWin16 =
>>((usrAgt.indexOf("win")!=-1) ||[\r][\n]"
>>2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]
>>(usrAgt.indexOf("16bit")!=-1) ||[\r][\n]"
>>2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]
>>(usrAgt.indexOf("windows 3.1")!=-1) ||[\r][\n]"
>>2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[0x9]
>>(usrAgt.indexOf("windows 16-bit")!=-1));[\r][\n]"
>>2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:531 EEST [DEBUG] content - << " // Netscape 4.08
>>browsers have problems running our Javascript to detect the[\r][\n]"
>>2005/05/02 15:20:18:531 EEST [DEBUG] content - << " // client. We
>>don't do any client detection for this browser.[\r][\n]"
>>2005/05/02 15:20:18:531 EEST [DEBUG] content - << " noDetectAgent
>>= nav && (usrAgt.indexOf("4.08") != -1);[\r][\n]"
>>2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[0x9]// OS/2[\r][\n]"
>>2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[0x9]// Native:
>>Win16 ICA Client || Web: Java Applet ICA Client[\r][\n]"
>>2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[0x9]//
>>http://download.citrix.com/cgi-bin/license.cgi?client=w16[\r][\n]"
>>2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[0x9] osOs2 =
>>((usrAgt.indexOf("os/2")!=-1) || [\r][\n]"
>>2005/05/02 15:20:18:546 EEST [DEBUG] content - <<
>>"[0x9] (navigator.appVersion.indexOf("OS/2")!=-1) ||
>>[\r][\n]"
>>2005/05/02 15:20:18:546 EEST [DEBUG] content - <<
>>"[0x9] (usrAgt.indexOf("ibm-webexplorer")!=-1)); [\r][\n]"
>>2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[0x9]//
>>MACINTOSH[\r][\n]"
>>2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[0x9]// Native:
>>Macintosh ICA Client || Web: Java Applet ICA Client[\r][\n]"
>>2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[0x9]//
>>http://download.citrix.com/cgi-bin/license.cgi?client=mac[\r][\n]"
>>2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[0x9] osMac =
>>(usrAgt.indexOf("mac")!=-1);[\r][\n]"
>>2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]// SUN SUNOS,
>>SOLARIS/SPARC, SOLARIS/X86[\r][\n]"
>>2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]// Native:
>>SunOS or Solaris/Sparc or Solaris/x86 ICA Client || Web: Java Applet ICA
>>Client[\r][\n]"
>>2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]// Having
>>trouble differentiating these; all show as 'sunos'. [\r][\n]"
>>2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]// The version
>>numbers might be a good tip-off if we want to refine this further.[\r][\n]"
>>2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]// In the
>>meantime, having all 3 clients offered might be a good idea.[\r][\n]"
>>2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]//
>>http://download.citrix.com/cgi-bin/license.cgi?client=unix_sunos[\r][\n]"
>>2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]//
>>http://download.citrix.com/cgi-bin/license.cgi?client=unix_sparc[\r][\n]"
>>2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9]//
>>http://download.citrix.com/cgi-bin/license.cgi?client=unix_x86[\r][\n]"
>>2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9] osSun =
>>(usrAgt.indexOf("sunos")!=-1); [\r][\n]"
>>2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9]// SGI UNIX ICA
>>Client[\r][\n]"
>>2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9]// Native: SGI
>>ICA Client || Web: Java Applet ICA Client[\r][\n]"
>>2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9]//
>>http://download.citrix.com/cgi-bin/license.cgi?client=unix_sgi[\r][\n]"
>>2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9] osSgi =
>>(usrAgt.indexOf("irix") !=-1);[\r][\n]"
>>2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9]// HP/UX UNIX
>>ICA Client[\r][\n]"
>>2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9]// Native:
>>HP/UX ICA Client || Web: Java Applet ICA Client[\r][\n]"
>>2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9]//
>>http://download.citri"
>>2005/05/02 15:20:18:593 EEST [DEBUG] content - <<
>>"x.com/cgi-bin/license.cgi?client=unix_hpux[\r][\n]"
>>2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9] osHpux =
>>(usrAgt.indexOf("hp-ux")!=-1);[\r][\n]"
>>2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9]// IBM AIX
>>UNIX[\r][\n]"
>>2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9]// Native: IBM
>>AIX ICA Client || Web: Java Applet ICA Client[\r][\n]"
>>2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9]//
>>http://download.citrix.com/cgi-bin/license.cgi?client=unix_ibm[\r][\n]"
>>2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9] osAix =
>>(usrAgt.indexOf("aix") !=-1);[\r][\n]"
>>2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9]// Linux[\r][\n]"
>>2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9]// Native:
>>Linux ICA Client || Web: Java Applet ICA Client[\r][\n]"
>>2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9]//
>>http://download.citrix.com/cgi-bin/license.cgi?client=linux[\r][\n]"
>>2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9] osLinux =
>>(usrAgt.indexOf("linux")!=-1); [\r][\n]"
>>2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9]// SCO
>>UNIX[\r][\n]"
>>2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9]// Native: SCO
>>ICA Client || Web: Java Applet ICA Client[\r][\n]"
>>2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9]//
>>http://download.citrix.com/cgi-bin/license.cgi?client=unix_sco[\r][\n]"
>>2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9] osSco =
>>(usrAgt.indexOf("sco")!=-1) || (usrAgt.indexOf("unix_sv")!=-1);[\r][\n]"
>>2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9]// Compaq Tru64
>>UNIX ICA Client (DEC)[\r][\n]"
>>2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9]// Native:
>>Compaq Tru64 ICA Client || Web: Java Applet ICA Client[\r][\n]"
>>2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9]//
>>http://download.citrix.com/cgi-bin/license.cgi?client=unix_tru64[\r][\n]"
>>2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9] osTru64 =
>>((usrAgt.indexOf("dec")!=-1) || (usrAgt.indexOf("osf1")!=-1) || [\r][\n]"
>>2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9]
>>(usrAgt.indexOf("dec_alpha")!=-1) || (usrAgt.indexOf("alphaserver")!=-1)
>>|| [\r][\n]"
>>2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]
>>(usrAgt.indexOf("ultrix")!=-1) || (usrAgt.indexOf("alphastation")!=-1)
>>||[\r][\n]"
>>2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]
>>(usrAgt.indexOf("digitalunix")!=-1) || (usrAgt.indexOf("tru64")!=-1));
>>[\r][\n]"
>>2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]// Non-matched
>>variety of UNIX... should probably point to a "let the user decide" sort
>>of page.[\r][\n]"
>>2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]// Also marks
>>any UNIX-variety OSes caught above.[\r][\n]"
>>2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]// Most matches
>>will likely come from Sinix, BSD, FreeBSD, Reliant, etc...[\r][\n]"
>>2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9] osUnix =
>>((usrAgt.indexOf("x11")!=-1) ||[\r][\n]"
>>2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]
>>osSun ||[\r][\n]"
>>2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
>>osSgi ||[\r][\n]"
>>2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
>>osHpux ||[\r][\n]"
>>2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
>>osAix ||[\r][\n]"
>>2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
>>osSco ||[\r][\n]"
>>2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
>>osTru64 ||[\r][\n]"
>>2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
>>osLinux); [\r][\n]"
>>2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]// ### Setting
>>of icaClientCode, used with icaClientInfo.js to retrieve data on
>>appropriate ICA client.[0x9][0x9][0x9] [\r][\n]"
>>2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]// ICACLIENT
>>CODES:[\r][\n]"
>>2005/05/02 15:20:18:687 EEST [DEBUG] content - << " // -1:
>>UnSupported client[\r][\n]"
>>2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 1:
>>Win32[\r][\n]"
>>2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 2:
>>Win16[\r][\n]"
>>2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 3:
>>Win16_Plugin[\r][\n]"
>>2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 4:
>>Mac[\r][\n]"
>>2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 5:
>>Solaris/Sparc[\r][\n]"
>>2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 6:
>>Solaris/x86[\r][\n]"
>>2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 7:
>>SunOS[\r][\n]"
>>2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 8:
>>SGI[\r][\n]"
>>2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]// [0x9] 9:
>>HP/UX[\r][\n]"
>>2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]10:
>>IBM/AIX[\r][\n]"
>>2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]11:
>>SCO[\r][\n]"
>>2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]12:
>>DEC/Tru64[\r][\n]"
>>2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]13:
>>Linux[\r][\n]"
>>2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]14: JAVA
>>Application[\r][\n]"
>>2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]15: Java
>>Applet[\r][\n]"
>>2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:703 EEST [DEBUG] content - << " icaClientCode
>>= -1;[\r][\n]"
>>2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9] [\r][\n]"
>>2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]if
>>(osWin32)[0x9]{ icaClientCode = 1; }[\r][\n]"
>>2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
>>2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]if
>>(osWin16)[0x9]{ icaClientCode = 2; }[\r][\n]"
>>2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
>>2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]if
>>(osOs2)[0x9][0x9]{[\r][\n]"
>>2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9][0x9]if
>>(isApplet) { icaClientCode = 15; }[\r][\n]"
>>2005/05/02 15:20:18:718 EEST [DEBUG] content - <<
>>"[0x9][0x9]else[0x9][0x9][0x9]{ icaClientCode = 2; }[\r][\n]"
>>2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]}[\r][\n]"
>>2005/05/02 15:20:18:734 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
>>2005/05/02 15:20:18:734 EEST [DEBUG] content - << "[0x9]if
>>(osMac)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 4; } }[\r][\n]"
>>2005/05/02 15:20:18:734 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
>>2005/05/02 15:20:18:875 EEST [DEBUG] content - << "[0x9]if
>>(osSun)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 0; } }[\r][\n]"
>>2005/05/02 15:20:18:875 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
>>2005/05/02 15:20:18:875 EEST [DEBUG] content - << "[0x9]if
>>(osSgi)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 8; } }[\r][\n]"
>>2005/05/02 15:20:18:875 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
>>2005/05/02 15:20:18:875 EEST [DEBUG] content - << "[0x9]if
>>(osHpux)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 9; } }[\r][\n]"
>>2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
>>2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]if
>>(osAix)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 10; } }[\r][\n]"
>>2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
>>2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]if
>>(osSco)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 11; } }[\r][\n]"
>>2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
>>2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]if
>>(osTru64)[0x9]{ if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 12; } }[\r][\n]"
>>2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
>>2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]if
>>(osLinux)[0x9]{ if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 13; } }[\r][\n]"
>>2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
>>2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]if (isApplet) {
>>icaClientCode = 15; } else { icaClientCode = 14; } [\r][\n]"
>>2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]// ### Setting
>>of icaObjectCode.[0x9][0x9][0x9] [\r][\n]"
>>2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]// ICAOBJECT
>>CODES:[\r][\n]"
>>2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]//[0x9] 0:
>>Native[\r][\n]"
>>2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]//[0x9] 1:
>>ActiveX[\r][\n]"
>>2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]//[0x9] 2:
>>Plugin32[\r][\n]"
>>2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]//[0x9] 3:
>>Plugin16[\r][\n]"
>>2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[0x9]if (ie &&
>>osWin32)[0x9]{ icaObjectCode = 1; }[\r][\n]"
>>2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[0x9]else if (nav &&
>>osWin32) [0x9]{ icaObjectCode = 2; }[\r][\n]"
>>2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[0x9]else if (osWin16
>>&& (ie || nav))[0x9]{ icaObjectCode = 3; }[\r][\n]"
>>2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[0x9]else {
>>icaObjectCode = 0; }[\r][\n]"
>>2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:921 EEST [DEBUG] content - << " // Add 100 to
>>indicate that we don't want any client detection.[\r][\n]"
>>2005/05/02 15:20:18:921 EEST [DEBUG] content - << " if
>>(noDetectAgent) {[\r][\n]"
>>2005/05/02 15:20:18:921 EEST [DEBUG] content - << " icaObjectCode
>>+= 100;[\r][\n]"
>>2005/05/02 15:20:18:937 EEST [DEBUG] content - << " }[\r][\n]"
>>2005/05/02 15:20:18:937 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:937 EEST [DEBUG] content - << " // ###
>>Setting of icaBrowserCode[\r][\n]"
>>2005/05/02 15:20:18:937 EEST [DEBUG] content - << " // ICABROWSER
>>CODES:[\r][\n]"
>>2005/05/02 15:20:18:937 EEST [DEBUG] content - << " // 0:
>>Unknown[\r][\n]"
>>2005/05/02 15:20:18:937 EEST [DEBUG] content - << " // 1:
>>IE[\r][\n]"
>>2005/05/02 15:20:18:937 EEST [DEBUG] content - << " // 2:
>>Netscape[\r][\n]"
>>2005/05/02 15:20:18:937 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:937 EEST [DEBUG] content - << " if (ie)
>>{ icaBrowserCode = 1; }[\r][\n]"
>>2005/05/02 15:20:18:953 EEST [DEBUG] content - << " else if (nav)
>>{ icaBrowserCode = 2; }[\r][\n]"
>>2005/05/02 15:20:18:953 EEST [DEBUG] content - << " else
>>{ icaBrowserCode = 0; }[\r][\n]"
>>2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[0x9]// Get screen
>>resolution for embedded apps as a percentage of screen size[\r][\n]"
>>2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[0x9]var ScreenWidth,
>>ScreenHeight, strResolution;[\r][\n]"
>>2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[0x9]ScreenWidth =
>>window.screen.width;[\r][\n]"
>>2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[0x9]ScreenHeight = wind"
>>2005/05/02 15:20:18:953 EEST [DEBUG] content - <<
>>"ow.screen.height;[\r][\n]"
>>2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[0x9]strResolution =
>>ScreenWidth + 'x' + ScreenHeight;[\r][\n]"
>>2005/05/02 15:20:18:968 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:968 EEST [DEBUG] content - << " // ### Store
>>cookies on user browser for NFuse use.[\r][\n]"
>>2005/05/02 15:20:18:968 EEST [DEBUG] content - << "
>>document.cookie = "icaClientCode=" + icaClientCode;[\r][\n]"
>>2005/05/02 15:20:18:968 EEST [DEBUG] content - << "
>>document.cookie = "icaObjectCode=" + icaObjectCode;[\r][\n]"
>>2005/05/02 15:20:18:968 EEST [DEBUG] content - << "
>>document.cookie = "icaBrowserCode=" + icaBrowserCode;[\r][\n]"
>>2005/05/02 15:20:18:968 EEST [DEBUG] content - << "
>>document.cookie = "icaScreen"
>>2005/05/02 15:20:18:968 EEST [DEBUG] content - << "Resolution=" +
>>strResolution[\r][\n]"
>>2005/05/02 15:20:18:968 EEST [DEBUG] content - << "[\r][\n]"
>>2005/05/02 15:20:18:968 EEST [DEBUG] content - <<
>>"location='login.asp'[\r][\n]"
>>2005/05/02 15:20:19:000 EEST [DEBUG] content - << "[0x9]//-->[\r][\n]"
>>2005/05/02 15:20:19:000 EEST [DEBUG] content - << "[0x9]</SCRIPT>[\r][\n]"
>>2005/05/02 15:20:19:000 EEST [DEBUG] content - << "<body>[\r][\n]"
>>2005/05/02 15:20:19:000 EEST [DEBUG] content - << "</body>[\r][\n]"
>>2005/05/02 15:20:19:000 EEST [DEBUG] content - << "</html>[\r][\n]"
>>2005/05/02 15:20:19:000 EEST [DEBUG] HttpMethodBase - Resorting to
>>protocol version default close connection policy
>>2005/05/02 15:20:19:000 EEST [DEBUG] HttpMethodBase - Should NOT close
>>connection, using HTTP/1.1
>>2005/05/02 15:20:19:000 EEST [DEBUG] HttpConnection - Releasing
>>connection back to connection manager.
>>2005/05/02 15:20:19:000 EEST [DEBUG] HttpMethodBase - Default charset
>>used: ISO-8859-1
>>
>>
>><html>
>><HEAD>
>> <META HTTP-EQUIV="Set-Cookie" VALUE="NFuseData=; expires=29-Nov-1997
>>12:00:00 GMT; path=/;">
>> <SCRIPT Language="JavaScript" type="text/javascript">
>> <!--
>>
>> // Pull userAgent from browser.
>> var usrAgt = navigator.userAgent.toLowerCase();
>> // isApplet is automatically set by the NFuse Web Site Wizard.
>> var isApplet = false;
>>
>> // #########################
>> // ### BROWSER DETECTION ###
>> // #########################
>> // booleans:
>> // ie : Internet Explorer
>> // nav : Netscape Navigator
>>
>> // A small percentage of IE browsers return 'Internet Explorer'
>>instead of 'MSIE' in usrAgt.
>> var ie =((usrAgt.indexOf("msie")!=-1)
>> || (usrAgt.indexOf("Internet Explorer")!=-1));
>>
>> // A small percentage of IE browsers do not include 'compatible' in
>>usrAgt; also check for 'MSIE'.
>> var nav =((usrAgt.indexOf('mozilla')!=-1)
>> && (usrAgt.indexOf('msie')==-1)
>> && (usrAgt.indexOf('spoofer')==-1)
>> && (usrAgt.indexOf('compatible')==-1)
>> && (usrAgt.indexOf('opera')==-1)
>> && (usrAgt.indexOf('webtv')==-1));
>>
>> // ##########################
>> // ### PLATFORM DETECTION ###
>> // ##########################
>> // booleans:
>> // osWin32 osSun osLinux
>> // osWin16 osSgi osSco
>> // osOs2 osHpux osTru64
>> // osMac osAix osUnix
>>
>> // 32-BIT WINDOWS
>> // Native: 32-bit ICA Client || Web: ActiveX ICA Client if
>>(ie=true), 32-bit Plug-in ICA Client if (nav=true)
>> // http://download.citrix.com/cgi-bin/license.cgi?client=w32
>> osWin32 = (((usrAgt.indexOf("win95")!=-1) ||
>> (usrAgt.indexOf("windows 95")!=-1) ||
>> (usrAgt.indexOf("win98")!=-1) ||
>> (usrAgt.indexOf("windows 98")!=-1)) ||
>> ((usrAgt.indexOf("winnt")!=-1) ||
>> (usrAgt.indexOf("windows nt")!=-1)) ||
>> ((this.major >= 4) &&
>> (navigator.platform == "Win32")) ||
>> (usrAgt.indexOf("win32")!=-1) ||
>> (usrAgt.indexOf("32bit")!=-1));
>>
>> // 16-BIT WINDOWS
>> // Native: Win16 ICA Client || Web: 16-bit Plug-in ICA Client if
>>(ie || nav)
>> // http://download.citrix.com/cgi-bin/license.cgi?client=w16
>> osWin16 = ((usrAgt.indexOf("win")!=-1) ||
>> (usrAgt.indexOf("16bit")!=-1) ||
>> (usrAgt.indexOf("windows 3.1")!=-1) ||
>> (usrAgt.indexOf("windows 16-bit")!=-1));
>>
>> // Netscape 4.08 browsers have problems running our Javascript to
>>detect the
>> // client. We don't do any client detection for this browser.
>> noDetectAgent = nav && (usrAgt.indexOf("4.08") != -1);
>>
>> // OS/2
>> // Native: Win16 ICA Client || Web: Java Applet ICA Client
>> // http://download.citrix.com/cgi-bin/license.cgi?client=w16
>> osOs2 = ((usrAgt.indexOf("os/2")!=-1) ||
>> (navigator.appVersion.indexOf("OS/2")!=-1) ||
>> (usrAgt.indexOf("ibm-webexplorer")!=-1));
>>
>> // MACINTOSH
>> // Native: Macintosh ICA Client || Web: Java Applet ICA Client
>> // http://download.citrix.com/cgi-bin/license.cgi?client=mac
>> osMac = (usrAgt.indexOf("mac")!=-1);
>>
>> // SUN SUNOS, SOLARIS/SPARC, SOLARIS/X86
>> // Native: SunOS or Solaris/Sparc or Solaris/x86 ICA Client || Web:
>>Java Applet ICA Client
>> // Having trouble differentiating these; all show as 'sunos'.
>> // The version numbers might be a good tip-off if we want to refine
>>this further.
>> // In the meantime, having all 3 clients offered might be a good idea.
>> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_sunos
>> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_sparc
>> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_x86
>> osSun = (usrAgt.indexOf("sunos")!=-1);
>>
>> // SGI UNIX ICA Client
>> // Native: SGI ICA Client || Web: Java Applet ICA Client
>> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_sgi
>> osSgi = (usrAgt.indexOf("irix") !=-1);
>>
>> // HP/UX UNIX ICA Client
>> // Native: HP/UX ICA Client || Web: Java Applet ICA Client
>> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_hpux
>> osHpux = (usrAgt.indexOf("hp-ux")!=-1);
>>
>> // IBM AIX UNIX
>> // Native: IBM AIX ICA Client || Web: Java Applet ICA Client
>> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_ibm
>> osAix = (usrAgt.indexOf("aix") !=-1);
>>
>> // Linux
>> // Native: Linux ICA Client || Web: Java Applet ICA Client
>> // http://download.citrix.com/cgi-bin/license.cgi?client=linux
>> osLinux = (usrAgt.indexOf("linux")!=-1);
>>
>> // SCO UNIX
>> // Native: SCO ICA Client || Web: Java Applet ICA Client
>> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_sco
>> osSco = (usrAgt.indexOf("sco")!=-1) ||
>>(usrAgt.indexOf("unix_sv")!=-1);
>>
>> // Compaq Tru64 UNIX ICA Client (DEC)
>> // Native: Compaq Tru64 ICA Client || Web: Java Applet ICA Client
>> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_tru64
>> osTru64 = ((usrAgt.indexOf("dec")!=-1) ||
>>(usrAgt.indexOf("osf1")!=-1) ||
>> (usrAgt.indexOf("dec_alpha")!=-1) ||
>>(usrAgt.indexOf("alphaserver")!=-1) ||
>> (usrAgt.indexOf("ultrix")!=-1) ||
>>(usrAgt.indexOf("alphastation")!=-1) ||
>> (usrAgt.indexOf("digitalunix")!=-1) ||
>>(usrAgt.indexOf("tru64")!=-1));
>>
>> // Non-matched variety of UNIX... should probably point to a "let
>>the user decide" sort of page.
>> // Also marks any UNIX-variety OSes caught above.
>> // Most matches will likely come from Sinix, BSD, FreeBSD, Reliant,
>>etc...
>> osUnix = ((usrAgt.indexOf("x11")!=-1) ||
>> osSun ||
>> osSgi ||
>> osHpux ||
>> osAix ||
>> osSco ||
>> osTru64 ||
>> osLinux);
>>
>> // ### Setting of icaClientCode, used with icaClientInfo.js to
>>retrieve data on appropriate ICA client.
>> // ICACLIENT CODES:
>> // -1: UnSupported client
>> // 1: Win32
>> // 2: Win16
>> // 3: Win16_Plugin
>> // 4: Mac
>> // 5: Solaris/Sparc
>> // 6: Solaris/x86
>> // 7: SunOS
>> // 8: SGI
>> // 9: HP/UX
>> // 10: IBM/AIX
>> // 11: SCO
>> // 12: DEC/Tru64
>> // 13: Linux
>> // 14: JAVA Application
>> // 15: Java Applet
>>
>> icaClientCode = -1;
>>
>> if (osWin32) { icaClientCode = 1; }
>> else
>> if (osWin16) { icaClientCode = 2; }
>> else
>> if (osOs2) {
>> if (isApplet) { icaClientCode = 15; }
>> else { icaClientCode = 2; }
>> }
>> else
>> if (osMac) { if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 4; } }
>> else
>> if (osSun) { if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 0; } }
>> else
>> if (osSgi) { if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 8; } }
>> else
>> if (osHpux) { if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 9; } }
>> else
>> if (osAix) { if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 10; } }
>> else
>> if (osSco) { if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 11; } }
>> else
>> if (osTru64) { if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 12; } }
>> else
>> if (osLinux) { if (isApplet) { icaClientCode = 15; } else {
>>icaClientCode = 13; } }
>> else
>> if (isApplet) { icaClientCode = 15; } else { icaClientCode = 14; }
>>
>> // ### Setting of icaObjectCode.
>> // ICAOBJECT CODES:
>> // 0: Native
>> // 1: ActiveX
>> // 2: Plugin32
>> // 3: Plugin16
>>
>> if (ie && osWin32) { icaObjectCode = 1; }
>> else if (nav && osWin32) { icaObjectCode = 2; }
>> else if (osWin16 && (ie || nav)) { icaObjectCode = 3; }
>> else { icaObjectCode = 0; }
>>
>> // Add 100 to indicate that we don't want any client detection.
>> if (noDetectAgent) {
>> icaObjectCode += 100;
>> }
>>
>> // ### Setting of icaBrowserCode
>> // ICABROWSER CODES:
>> // 0: Unknown
>> // 1: IE
>> // 2: Netscape
>>
>> if (ie) { icaBrowserCode = 1; }
>> else if (nav) { icaBrowserCode = 2; }
>> else { icaBrowserCode = 0; }
>>
>> // Get screen resolution for embedded apps as a percentage of screen
>>size
>> var ScreenWidth, ScreenHeight, strResolution;
>> ScreenWidth = window.screen.width;
>> ScreenHeight = window.screen.height;
>> strResolution = ScreenWidth + 'x' + ScreenHeight;
>>
>> // ### Store cookies on user browser for NFuse use.
>> document.cookie = "icaClientCode=" + icaClientCode;
>> document.cookie = "icaObjectCode=" + icaObjectCode;
>> document.cookie = "icaBrowserCode=" + icaBrowserCode;
>> document.cookie = "icaScreenResolution=" + strResolution
>>
>>location='login.asp'
>> //-->
>> </SCRIPT>
>><body>
>></body>
>></html>
>>
>>2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "POST /asp/login.asp
>>HTTP/1.1[\r][\n]"
>>2005/05/02 15:20:19:031 EEST [DEBUG] HttpMethodBase - Adding Host
>>request header
>>2005/05/02 15:20:19:031 EEST [DEBUG] HttpMethodBase - Default charset
>>used: ISO-8859-1
>>2005/05/02 15:20:19:031 EEST [DEBUG] HttpMethodBase - Default charset
>>used: ISO-8859-1
>>2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "User-Agent: Jakarta
>>Commons-HttpClient/3.0-rc2[\r][\n]"
>>2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "Host:
>>3000xtra.glbl1.reuters.com[\r][\n]"
>>2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "Cookie:
>>icaObjectCode=2[\r][\n]"
>>2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "Cookie:
>>icaClientCode=1[\r][\n]"
>>2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "Cookie:
>>icaScreenResolution=12800x960[\r][\n]"
>>2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "Cookie:
>>icaBrowserCode=2[\r][\n]"
>>2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "Cookie:
>>NFuseUseSavedFolder=Off[\r][\n]"
>>2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "Cookie:
>>ASPSESSIONIDQAQRRRCD=JNMAKGNBIAGHAJBHLGGHBAPN[\r][\n]"
>>2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "Content-Length:
>>70[\r][\n]"
>>2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "Content-Type:
>>application/x-www-form-urlencoded[\r][\n]"
>>2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "[\r][\n]"
>>2005/05/02 15:20:19:046 EEST [DEBUG] HttpMethodBase - Default charset
>>used: ISO-8859-1
>>2005/05/02 15:20:19:046 EEST [DEBUG] content - >>
>>"LoginType=Explicit&user=mpektas%40ibb.gov.tr&password=iBB1gnls&domain="
>>2005/05/02 15:20:19:046 EEST [DEBUG] EntityEnclosingMethod - Request
>>body sent
>>2005/05/02 15:20:19:296 EEST [DEBUG] header - << "HTTP/1.1 100
>>Continue[\r][\n]"
>>2005/05/02 15:20:19:296 EEST [DEBUG] header - << "Server:
>>Microsoft-IIS/5.0[\r][\n]"
>>2005/05/02 15:20:19:296 EEST [DEBUG] header - << "Date: Mon, 02 May 2005
>>12:18:15 GMT[\r][\n]"
>>2005/05/02 15:20:19:296 EEST [INFO] HttpMethodBase - Discarding
>>unexpected response: HTTP/1.1 100 Continue
>>2005/05/02 15:20:19:671 EEST [DEBUG] header - << "HTTP/1.1 500 Internal
>>Server Error[\r][\n]"
>>2005/05/02 15:20:19:671 EEST [DEBUG] header - << "Server:
>>Microsoft-IIS/5.0[\r][\n]"
>>2005/05/02 15:20:19:671 EEST [DEBUG] header - << "Date: Mon, 02 May 2005
>>12:18:15 GMT[\r][\n]"
>>2005/05/02 15:20:19:671 EEST [DEBUG] header - << "Content-Length:
>>286[\r][\n]"
>>2005/05/02 15:20:19:671 EEST [DEBUG] header - << "Content-Type:
>>text/html[\r][\n]"
>>2005/05/02 15:20:19:687 EEST [DEBUG] header - << "Set-Cookie:
>>NFuseUseSavedFolder=Off; path=/asp[\r][\n]"
>>2005/05/02 15:20:19:687 EEST [DEBUG] header - << "Cache-control:
>>private[\r][\n]"
>>2005/05/02 15:20:19:687 EEST [DEBUG] HttpMethodBase - Cookie accepted:
>>"NFuseUseSavedFolder=Off"
>>2005/05/02 15:20:19:687 EEST [DEBUG] content - << " <font face="Arial"
>>size=2>[\n]"
>>2005/05/02 15:20:19:687 EEST [DEBUG] content - << "<p>Microsoft VBScript
>>runtime </font> <font face="Arial" size=2>error '800a000d'</font>[\n]"
>>2005/05/02 15:20:19:687 EEST [DEBUG] content - << "<p>[\n]"
>>2005/05/02 15:20:19:687 EEST [DEBUG] content - << "<font face="Arial"
>>size=2>Type mismatch: 'icaObjectCode'</font>[\n]"
>>2005/05/02 15:20:19:687 EEST [DEBUG] content - << "<p"
>>2005/05/02 15:20:19:687 EEST [DEBUG] content - << ">[\n]"
>>2005/05/02 15:20:19:703 EEST [DEBUG] content - << "<font face="Arial"
>>size=2>/asp/include/login.vbs</font><font face="Arial" size=2>, line
>>34</font> "
>>2005/05/02 15:20:19:703 EEST [DEBUG] HttpMethodBase - Resorting to
>>protocol version default close connection policy
>>2005/05/02 15:20:19:703 EEST [DEBUG] HttpMethodBase - Should NOT close
>>connection, using HTTP/1.1
>>2005/05/02 15:20:19:703 EEST [DEBUG] HttpConnection - Releasing
>>connection back to connection manager.
>>Internal Server Error
>>2005/05/02 15:20:19:718 EEST [DEBUG] header - >> "GET
>>/asp/launch.asp?NFuse_Application=3000x0020Xtrax0020452&NFuse_AppFriendlyNameURLEncoded=3000x0020Xtrax0020452
>>HTTP/1.1[\r][\n]"
>>2005/05/02 15:20:19:718 EEST [DEBUG] HttpMethodBase - Adding Host
>>request header
>>2005/05/02 15:20:19:718 EEST [DEBUG] header - >> "User-Agent: Jakarta
>>Commons-HttpClient/3.0-rc2[\r][\n]"
>>2005/05/02 15:20:19:718 EEST [DEBUG] header - >> "Host:
>>3000xtra.glbl1.reuters.com[\r][\n]"
>>2005/05/02 15:20:19:718 EEST [DEBUG] header - >> "Cookie:
>>icaObjectCode=2[\r][\n]"
>>2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "Cookie:
>>icaClientCode=1[\r][\n]"
>>2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "Cookie:
>>icaScreenResolution=12800x960[\r][\n]"
>>2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "Cookie:
>>icaBrowserCode=2[\r][\n]"
>>2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "Cookie:
>>NFuseUseSavedFolder=On[\r][\n]"
>>2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "Cookie:
>>ASPSESSIONIDQAQRRRCD=JNMAKGNBIAGHAJBHLGGHBAPN[\r][\n]"
>>2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "[\r][\n]"
>>2005/05/02 15:20:20:000 EEST [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
>>2005/05/02 15:20:20:000 EEST [DEBUG] header - << "Server:
>>Microsoft-IIS/5.0[\r][\n]"
>>2005/05/02 15:20:20:000 EEST [DEBUG] header - << "Date: Mon, 02 May 2005
>>12:18:16 GMT[\r][\n]"
>>2005/05/02 15:20:20:000 EEST [DEBUG] header - << "Content-Length:
>>115[\r][\n]"
>>2005/05/02 15:20:20:000 EEST [DEBUG] header - << "Content-Type:
>>text/html[\r][\n]"
>>2005/05/02 15:20:20:000 EEST [DEBUG] header - << "Cache-control:
>>private[\r][\n]"
>>2005/05/02 15:20:20:000 EEST [DEBUG] HttpMethodBase - Buffering response
>>body
>>2005/05/02 15:20:20:515 EEST [DEBUG] content - << "<script languag"
>>2005/05/02 15:20:20:515 EEST [DEBUG] content - << "e='JavaScript'>[\r][\n]"
>>2005/05/02 15:20:20:515 EEST [DEBUG] content - << "<!--[\r][\n]"
>>2005/05/02 15:20:20:515 EEST [DEBUG] content - << "parent.location.href
>>= 'redirect.asp?NFuse_loginErrorId=On'//-->[\r][\n]"
>>2005/05/02 15:20:20:515 EEST [DEBUG] content - << "</script>[\r][\n]"
>>2005/05/02 15:20:20:515 EEST [DEBUG] HttpMethodBase - Resorting to
>>protocol version default close connection policy
>>2005/05/02 15:20:20:515 EEST [DEBUG] HttpMethodBase - Should NOT close
>>connection, using HTTP/1.1
>>2005/05/02 15:20:20:515 EEST [DEBUG] HttpConnection - Releasing
>>connection back to connection manager.
>>2005/05/02 15:20:20:515 EEST [DEBUG] HttpMethodBase - Default charset
>>used: ISO-8859-1
>><script language='JavaScript'>
>><!--
>>parent.location.href = 'redirect.asp?NFuse_loginErrorId=On'//-->
>></script>
>>
>>OK
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>Oleg Kalnichevski wrote:
>>
>>
>>
>>>Ganime,
>>>
>>>Could you produce a complete wire log of the HTTP session (see this
>>>document for details
>>><http://jakarta.apache.org/commons/httpclient/3.0/logging.html>?
>>>
>>>I suspect the cookies are not included in the request due to a mismatch
>>>between the domain attribute of the cookie and the host name of the
>>>target server
>>>
>>>Cheers,
>>>
>>>Oleg
>>>
>>>
>>>On Fri, 2005-04-29 at 10:56 +0300, Ganime Betül AKIN wrote:
>>>
>>>
>>>
>>>
>>>>Hello,
>>>>I am trying to browse thru a site. The first page contains javascript
>>>>that checks my user-agent info and sets some cookies by using the following
>>>>
>>>>document.cookie = "icaClientCode=" + icaClientCode;
>>>>document.cookie = "icaObjectCode=" + icaObjectCode;
>>>>document.cookie = "icaBrowserCode=" + icaBrowserCode;
>>>>document.cookie = "icaScreenResolution=" + strResolution
>>>>
>>>>so, what I am doing it, I am manually setting the cookies
>>>>
>>>>client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
>>>>"icaObjectCode", "1","/asp/", null,false));
>>>>client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
>>>>"icaClientCode", "1", "/asp/", null,false));
>>>>client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
>>>>"icaScreenResolution", "12800x960", "/asp/", null,false));
>>>>client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
>>>>"icaBrowserCode", "2","/asp/", null,false));
>>>>
>>>>
>>>>But when I post to the next page, I get the error
>>>>
>>>>Internal Server Error
>>>><font face="Arial" size=2>
>>>><p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error
>>>>'800a000d'</font>
>>>><p>
>>>><font face="Arial" size=2>Type mismatch: 'icaObjectCode'</font>
>>>><p>
>>>><font face="Arial" size=2>/asp/include/login.vbs</font><font
>>>>face="Arial" size=2>, line 34</font>
>>>>
>>>>well I managed to download this login.vbs and the problem seems to be in
>>>>the lines
>>>>
>>>> Dim icaObjectCode
>>>> icaObjectCode = Request.Cookies("icaObjectCode")
>>>> If Len(icaObjectCode) > 0 Then
>>>> isIE = CBool(icaObjectCode = 1)
>>>> Else
>>>> isIE = false
>>>> End If
>>>>End Sub
>>>>
>>>>it must be a mismatch with the value I assign to icaObjectCode. Bu how
>>>>do I get around this problem?
>>>>
>>>>
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>>
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
Re: problem with cookie set by javascript
Posted by Oleg Kalnichevski <ol...@apache.org>.
Ganime,
As far as I am concerned HttpClient performs as advertised. All the
cookies that you set manually get sent to the target server. The problem
clearly lies on the server side and has nothing to do with HttpClient as
such
> << "HTTP/1.1 500 Internal Server Error[\r][\n]"
...
> << "<font face="Arial" size=2>Type mismatch: 'icaObjectCode'</font>[\n]"
...
> << "<font face="Arial" size=2>/asp/include/login.vbs</font><font face="Arial" size=2>, line
> 34</font> "
...
There's one last thing you may want to try, though. Try forcing all
request cookies into one request header by setting
'http.protocol.single-cookie-header' parameter to true and see if that
makes any difference. For details see:
<http://jakarta.apache.org/commons/httpclient/3.0/cookies.html#Browser%
20Compatibility>
Hope this helps,
Oleg
On Mon, 2005-05-02 at 15:26 +0300, Ganime Betül AKIN wrote:
> I did as you have told. It seems to me, when I set the cookie
> "iaobjectcode" to "2", server-side script tries to make the comparison
>
> If Len(icaObjectCode) > 0 Then
> isIE = CBool(icaObjectCode = 1)
> Else
>
>
> and it cannot match the string "2", to integer 1, hence the error, type
> mismatch.
>
> Here is my source code:
>
>
>
> System.setProperty("org.apache.commons.logging.Log","org.apache.commons.logging.impl.SimpleLog");
>
> System.setProperty("org.apache.commons.logging.simplelog.showdatetime","true");
>
> System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire",
> "debug");
>
> System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient",
> "debug");
> String LOGON_SITE = "https://3000xtra.glbl1.reuters.com";
> int LOGON_PORT = 443;
> boolean accountCreated = false;
> String resposeBody;
> HttpClient client = new HttpClient();
> client.getHostConfiguration().setHost(LOGON_SITE, LOGON_PORT);
> client.getHostConfiguration().setProxy("10.1.9.5", 8080);
>
> //
> CookiePolicy.registerCookieSpec(CookiePolicy.BROWSER_COMPATIBILITY,
> // CookieSpecBase.class);
>
> client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY);
>
> int statusCode =0;
> //**********************************first go to
> login.asp************************
> GetMethod authget = new GetMethod(LOGON_SITE + "/asp/login.asp");
> //authget.setFollowRedirects(true);
> try {
> statusCode = client.executeMethod(authget);
> } catch (HttpException e) {
> e.printStackTrace();
> } catch (IOException e) {
> e.printStackTrace();
> }
>
> System.out.println(HttpStatus.getStatusText(statusCode));
> System.out.println(authget.getResponseBodyAsString());
> authget.releaseConnection();
>
>
> //**********************************since the following is set by
> javascrit, set them manually************************
>
> client.getState().addCookie(new
> Cookie("3000xtra.glbl1.reuters.com", "icaObjectCode", "2","/asp/",
> null,false));
> client.getState().addCookie(new
> Cookie("3000xtra.glbl1.reuters.com", "icaClientCode", "1", "/asp/",
> null,false));
> client.getState().addCookie(new
> Cookie("3000xtra.glbl1.reuters.com", "icaScreenResolution", "12800x960",
> "/asp/", null,false));
> client.getState().addCookie(new
> Cookie("3000xtra.glbl1.reuters.com", "icaBrowserCode", "2","/asp/",
> null,false));
>
> /*authget = new GetMethod(LOGON_SITE + "/asp/login.asp");
> //authget.setFollowRedirects(true);
> try {
> statusCode = client.executeMethod(authget);
> } catch (HttpException e) {
> e.printStackTrace();
> } catch (IOException e) {
> e.printStackTrace();
> }
>
> System.out.println(HttpStatus.getStatusText(statusCode));
> System.out.println(authget.getResponseBodyAsString());
> // System.out.println("Login form get: " +
> authget.getStatusLine().toString());
> // release any connection resources used by the method
> authget.releaseConnection();
> */
> // login to the admin console
>
> //**********************************perform a post to login.aso with
> your user name and password***********************
>
> PostMethod authpost = new PostMethod(LOGON_SITE + "/asp/login.asp");
> NameValuePair nvp0= new NameValuePair("LoginType","Explicit");
> NameValuePair nvp1= new NameValuePair("user","user1");
> NameValuePair nvp2= new NameValuePair("password","passwd1");
> NameValuePair nvp3= new NameValuePair("domain","");
> authpost.setRequestBody(new NameValuePair[] {nvp0, nvp1, nvp2,
> nvp3});
>
> try {
> statusCode = client.executeMethod(authpost);
> } catch (HttpException ex) {
> ex.printStackTrace();
> } catch (IOException ex) {
> ex.printStackTrace();
> }
> authpost.releaseConnection();
>
> System.out.println(HttpStatus.getStatusText(statusCode));
>
> statusCode = authpost.getStatusCode();
> if ((statusCode == HttpStatus.SC_MOVED_TEMPORARILY) ||
> (statusCode == HttpStatus.SC_MOVED_PERMANENTLY) ||
> (statusCode == HttpStatus.SC_SEE_OTHER) ||
> (statusCode == HttpStatus.SC_TEMPORARY_REDIRECT)) {
> Header header = authpost.getResponseHeader("location");
> if (header != null) {
> String newuri = header.getValue();
> if ((newuri == null) || (newuri.equals(""))) {
> newuri = "/";
> }
>
> //**********************************it will forward to
> frameset.asp***********************
>
> // System.out.println("Redirect target: " + newuri);
> GetMethod redirect = new GetMethod(LOGON_SITE + "/asp/"
> +newuri);
> redirect.setFollowRedirects(true);
>
> try {
> statusCode = client.executeMethod(redirect);
> } catch (HttpException e2) {
> e2.printStackTrace();
> } catch (IOException e2) {
> e2.printStackTrace();
> }
>
> System.out.println(redirect.getResponseBodyAsString());
> // System.out.println("Redirect: " +
> redirect.getStatusLine().toString());
> // release any connection resources used by the
> method
> redirect.releaseConnection();
> } else {
> System.out.println("invalid redirect");
> }
> }
>
> Cookie[] cookies = client.getState().getCookies();
> for (int i=0;i<cookies.length;i++) {
> Cookie cookie = cookies[i];
> if(cookie.getName().equals("NFuseUseSavedFolder")) {
> cookie.setValue("On");
> break;
> }
> }
>
> //**********************************this is my real target. I have done
> everything above to reach this page but in the end, I get an loginid
> error***********************
>
> GetMethod creatUser = new GetMethod(LOGON_SITE + "/asp/launch.asp");
> creatUser.setFollowRedirects(true);
> // Prepare login parameters
> NameValuePair action1 = new NameValuePair("NFuse_Application",
> "3000x0020Xtrax0020452");
> NameValuePair action2 = new
> NameValuePair("NFuse_AppFriendlyNameURLEncoded", "3000x0020Xtrax0020452");
>
> creatUser.setQueryString(
> new NameValuePair[] {action1, action2});
>
> try {
> statusCode = client.executeMethod(creatUser);
>
> System.out.println(creatUser.getResponseBodyAsString());
> } catch (HttpException e1) {
> // TODO Auto-generated catch block
> e1.printStackTrace();
> } catch (IOException e1) {
> // TODO Auto-generated catch block
> e1.printStackTrace();
> }
> System.out.println(HttpStatus.getStatusText(statusCode));
> creatUser.releaseConnection();
>
> int statuscode2 = creatUser.getStatusCode();
> if ((statuscode2 == HttpStatus.SC_MOVED_TEMPORARILY) ||
> (statuscode2 == HttpStatus.SC_MOVED_PERMANENTLY) ||
> (statuscode2 == HttpStatus.SC_SEE_OTHER) ||
> (statuscode2 == HttpStatus.SC_TEMPORARY_REDIRECT)) {
> Header header = creatUser.getResponseHeader("location");
> if (header != null) {
> String newuri = header.getValue();
> if ((newuri == null) || (newuri.equals(""))) {
> newuri = "/";
> }
> accountCreated = true;
> GetMethod redirect = new GetMethod(newuri);
>
> try {
> client.executeMethod(redirect);
> } catch (HttpException e2) {
> e2.printStackTrace();
> } catch (IOException e2) {
> e2.printStackTrace();
> }
> redirect.releaseConnection();
> } else {
> System.out.println("invalid redirect 2");
> }
> }
> }
>
> *******************************************************************
>
> here is where the error occurs in login.vbs
>
>
> logonMode = Request.Cookies("NFuseLogin")("NFuse_LogonMode")
> Dim icaObjectCode
> icaObjectCode = Request.Cookies("icaObjectCode")
> If Len(icaObjectCode) > 0 Then
> isIE = CBool(icaObjectCode = 1)
> Else
> isIE = false
> End If
>
>
> **********************************************************************
> and here is the log
>
>
>
>
>
> 2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Java version: 1.4.2_08
> 2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Java vendor: Sun
> Microsystems Inc.
> 2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Java class path:
> C:\workspace\KIK;C:\workspace\HTTPCLIENT;C:\eclipse\jar\commons-codec-1.3\commons-codec-1.3.jar;C:\eclipse\jar\commons-logging-1.0.4\commons-logging-api.jar;C:\eclipse\jar\commons-logging-1.0.4\commons-logging.jar
> 2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Operating system name:
> Windows 2000
> 2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Operating system
> architecture: x86
> 2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Operating system
> version: 5.0
> 2005/05/02 15:20:15:203 EEST [DEBUG] HttpClient - SUN 1.42: SUN (DSA
> key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom;
> X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX
> CertPathBuilder; LDAP, Collection CertStores)
> 2005/05/02 15:20:15:218 EEST [DEBUG] HttpClient - SunJSSE 1.42: Sun JSSE
> provider(implements RSA Signatures, PKCS12, SunX509 key/trust factories,
> SSLv3, TLSv1)
> 2005/05/02 15:20:15:218 EEST [DEBUG] HttpClient - SunRsaSign 1.42: SUN's
> provider for RSA signatures
> 2005/05/02 15:20:15:218 EEST [DEBUG] HttpClient - SunJCE 1.42: SunJCE
> Provider (implements DES, Triple DES, AES, Blowfish, PBE,
> Diffie-Hellman, HMAC-MD5, HMAC-SHA1)
> 2005/05/02 15:20:15:218 EEST [DEBUG] HttpClient - SunJGSS 1.0: Sun
> (Kerberos v5)
> 2005/05/02 15:20:15:218 EEST [DEBUG] DefaultHttpParams - Set parameter
> http.useragent = Jakarta Commons-HttpClient/3.0-rc2
> 2005/05/02 15:20:15:218 EEST [DEBUG] DefaultHttpParams - Set parameter
> http.protocol.version = HTTP/1.1
> 2005/05/02 15:20:15:218 EEST [DEBUG] DefaultHttpParams - Set parameter
> http.connection-manager.class = class
> org.apache.commons.httpclient.SimpleHttpConnectionManager
> 2005/05/02 15:20:15:234 EEST [DEBUG] DefaultHttpParams - Set parameter
> http.protocol.cookie-policy = rfc2109
> 2005/05/02 15:20:15:234 EEST [DEBUG] DefaultHttpParams - Set parameter
> http.protocol.element-charset = US-ASCII
> 2005/05/02 15:20:15:234 EEST [DEBUG] DefaultHttpParams - Set parameter
> http.protocol.content-charset = ISO-8859-1
> 2005/05/02 15:20:15:234 EEST [DEBUG] DefaultHttpParams - Set parameter
> http.method.retry-handler =
> org.apache.commons.httpclient.DefaultHttpMethodRetryHandler@1815859
> 2005/05/02 15:20:15:250 EEST [DEBUG] DefaultHttpParams - Set parameter
> http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE,
> dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy
> HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE
> dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy
> HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss z,
> EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy
> HH:mm:ss z]
> 2005/05/02 15:20:15:250 EEST [DEBUG] DefaultHttpParams - Set parameter
> http.protocol.cookie-policy = compatibility
> 2005/05/02 15:20:15:312 EEST [DEBUG] HttpConnection - Open connection to
> 10.1.9.5:8080
> 2005/05/02 15:20:15:328 EEST [DEBUG] header - >> "CONNECT
> 3000xtra.glbl1.reuters.com:443 HTTP/1.1"
> 2005/05/02 15:20:15:328 EEST [DEBUG] HttpMethodBase - Adding Host
> request header
> 2005/05/02 15:20:15:328 EEST [DEBUG] header - >> "User-Agent: Jakarta
> Commons-HttpClient/3.0-rc2[\r][\n]"
> 2005/05/02 15:20:15:328 EEST [DEBUG] header - >> "Host:
> 3000xtra.glbl1.reuters.com[\r][\n]"
> 2005/05/02 15:20:15:328 EEST [DEBUG] header - >> "Proxy-Connection:
> Keep-Alive[\r][\n]"
> 2005/05/02 15:20:15:343 EEST [DEBUG] header - >> "[\r][\n]"
> 2005/05/02 15:20:15:609 EEST [DEBUG] header - << "HTTP/1.1 200
> Connection established[\r][\n]"
> 2005/05/02 15:20:15:609 EEST [DEBUG] header - << "Via: 1.1 TEST, 1.1
> PROXY3[\r][\n]"
> 2005/05/02 15:20:15:625 EEST [INFO] HttpMethodBase - Response content
> length is not known
> 2005/05/02 15:20:15:625 EEST [DEBUG] HttpMethodBase - Force-close
> connection: true
> 2005/05/02 15:20:15:625 EEST [DEBUG] ConnectMethod - CONNECT status code 200
> 2005/05/02 15:20:15:625 EEST [DEBUG] HttpConnection - Secure tunnel to
> 3000xtra.glbl1.reuters.com:443
> 2005/05/02 15:20:15:734 EEST [DEBUG] header - >> "GET /asp/login.asp
> HTTP/1.1[\r][\n]"
> 2005/05/02 15:20:15:750 EEST [DEBUG] HttpMethodBase - Adding Host
> request header
> 2005/05/02 15:20:15:750 EEST [DEBUG] header - >> "User-Agent: Jakarta
> Commons-HttpClient/3.0-rc2[\r][\n]"
> 2005/05/02 15:20:15:750 EEST [DEBUG] header - >> "Host:
> 3000xtra.glbl1.reuters.com[\r][\n]"
> 2005/05/02 15:20:15:750 EEST [DEBUG] header - >> "[\r][\n]"
> 2005/05/02 15:20:17:218 EEST [DEBUG] header - << "HTTP/1.1 302 Object
> moved[\r][\n]"
> 2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Server:
> Microsoft-IIS/5.0[\r][\n]"
> 2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Date: Mon, 02 May 2005
> 12:18:13 GMT[\r][\n]"
> 2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Location:
> redirect.asp[\r][\n]"
> 2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Content-Length:
> 121[\r][\n]"
> 2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Content-Type:
> text/html[\r][\n]"
> 2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Set-Cookie:
> NFuseUseSavedFolder=Off; path=/asp[\r][\n]"
> 2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Set-Cookie:
> ASPSESSIONIDQAQRRRCD=JNMAKGNBIAGHAJBHLGGHBAPN; path=/[\r][\n]"
> 2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Cache-control:
> private[\r][\n]"
> 2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodBase - Cookie accepted:
> "NFuseUseSavedFolder=Off"
> 2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodBase - Cookie accepted:
> "ASPSESSIONIDQAQRRRCD=JNMAKGNBIAGHAJBHLGGHBAPN"
> 2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodDirector - Redirect required
> 2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodDirector - Redirect
> requested to location 'redirect.asp'
> 2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodDirector - Redirect URI
> is not absolute - parsing as relative
> 2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodDirector - Redirecting
> from 'https://3000xtra.glbl1.reuters.com:443/asp/login.asp' to
> 'https://3000xtra.glbl1.reuters.com:443/asp/redirect.asp
> 2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodDirector - Execute
> redirect 1 of 100
> 2005/05/02 15:20:17:687 EEST [DEBUG] content - << "<head><title>Object m"
> 2005/05/02 15:20:17:687 EEST [DEBUG] content - << "oved</title></head>[\n]"
> 2005/05/02 15:20:17:687 EEST [DEBUG] content - << "<body><h1>Object
> Moved</h1>This object may be found <a HREF="">here</a>.</body>[\n]"
> 2005/05/02 15:20:17:687 EEST [DEBUG] HttpMethodBase - Resorting to
> protocol version default close connection policy
> 2005/05/02 15:20:17:703 EEST [DEBUG] HttpMethodBase - Should NOT close
> connection, using HTTP/1.1
> 2005/05/02 15:20:17:703 EEST [DEBUG] HttpConnection - Connection is
> locked. Call to releaseConnection() ignored.
> 2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "GET /asp/redirect.asp
> HTTP/1.1[\r][\n]"
> 2005/05/02 15:20:17:718 EEST [DEBUG] HttpMethodBase - Adding Host
> request header
> 2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "User-Agent: Jakarta
> Commons-HttpClient/3.0-rc2[\r][\n]"
> 2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "Host:
> 3000xtra.glbl1.reuters.com[\r][\n]"
> 2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "Cookie:
> NFuseUseSavedFolder=Off[\r][\n]"
> 2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "Cookie:
> ASPSESSIONIDQAQRRRCD=JNMAKGNBIAGHAJBHLGGHBAPN[\r][\n]"
> 2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "[\r][\n]"
> 2005/05/02 15:20:18:062 EEST [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
> 2005/05/02 15:20:18:062 EEST [DEBUG] header - << "Server:
> Microsoft-IIS/5.0[\r][\n]"
> 2005/05/02 15:20:18:062 EEST [DEBUG] header - << "Date: Mon, 02 May 2005
> 12:18:14 GMT[\r][\n]"
> 2005/05/02 15:20:18:062 EEST [DEBUG] header - << "Content-Length:
> 8647[\r][\n]"
> 2005/05/02 15:20:18:062 EEST [DEBUG] header - << "Content-Type:
> text/html[\r][\n]"
> OK
> 2005/05/02 15:20:18:062 EEST [DEBUG] header - << "Cache-control:
> private[\r][\n]"
> 2005/05/02 15:20:18:062 EEST [DEBUG] HttpMethodBase - Buffering response
> body
> 2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:406 EEST [DEBUG] content - << "<html>[\r][\n]"
> 2005/05/02 15:20:18:406 EEST [DEBUG] content - << "<HEAD>[\r][\n]"
> 2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[0x9]<META
> HTTP-EQUIV="Set-Cookie" VALUE="NFuseData=; expires=29-Nov-1997 12:00:00
> GMT; path=/;">[\r][\n]"
> 2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[0x9]<SCRIPT
> Language="JavaScript" type="text/javascript">[\r][\n]"
> 2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[0x9]<!--[\r][\n]"
> 2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[0x9]// Pull
> userAgent from browser.[\r][\n]"
> 2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]var usrAgt =
> navigator.userAgent.toLowerCase();[\r][\n]"
> 2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]// isApplet is
> automatically set by the NFuse Web Site Wizard.[\r][\n]"
> 2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]var isApplet =
> false;[\r][\n]"
> 2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]//
> #########################[\r][\n]"
> 2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]// ### BROWSER
> DETECTION ###[\r][\n]"
> 2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]//
> #########################[\r][\n]"
> 2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]//
> booleans:[\r][\n]"
> 2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]// ie :
> Internet Explorer[\r][\n]"
> 2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9]// nav :
> Netscape Navigator[\r][\n]"
> 2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9]// A small
> percentage of IE browsers return 'Internet Explorer' instead of 'MSIE'
> in usrAgt.[\r][\n]"
> 2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9]var ie
> =((usrAgt.indexOf("msie")!=-1)[\r][\n]"
> 2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9][0x9] ||
> (usrAgt.indexOf("Internet Explorer")!=-1));[\r][\n]"
> 2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9]// A small
> percentage of IE browsers do not include 'compatible' in usrAgt; also
> check for 'MSIE'.[\r][\n]"
> 2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9]var nav
> =((usrAgt.indexOf('mozilla')!=-1)[\r][\n]"
> 2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9] &&
> (usrAgt.indexOf('msie')==-1)[0x9] [\r][\n]"
> 2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9] &&
> (usrAgt.indexOf('spoofer')==-1)[\r][\n]"
> 2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9] &&
> (usrAgt.indexOf('compatible')==-1)[\r][\n]"
> 2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9] &&
> (usrAgt.indexOf('opera')==-1)[\r][\n]"
> 2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9] &&
> (usrAgt.indexOf('webtv')==-1));[\r][\n]"
> 2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9]//
> ##########################[\r][\n]"
> 2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9]// ### PLATFORM
> DETECTION ###[\r][\n]"
> 2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9]//
> ##########################[\r][\n]"
> 2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9]//
> booleans:[\r][\n]"
> 2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// osWin32
> osSun osLinux[\r][\n]"
> 2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// osWin16
> osSgi osSco[\r][\n]"
> 2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// osOs2
> osHpux osTru64[\r][\n]"
> 2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// osMac
> osAix osUnix[\r][\n]"
> 2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// 32-BIT
> WINDOWS[\r][\n]"
> 2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// Native:
> 32-bit ICA Client || Web: ActiveX ICA Client if (ie=true), 32-bit
> Plug-in ICA Client if (nav=true)[\r][\n]"
> 2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]//
> http://download.citrix.com/cgi-bin/license.cgi?client=w32[\r][\n]"
> 2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9] osWin32 =
> (((usrAgt.indexOf("win95")!=-1) ||[\r][\n]"
> 2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
> (usrAgt.indexOf("windows 95")!=-1) ||[\r][\n]"
> 2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
> (usrAgt.indexOf("win98")!=-1) ||[\r][\n]"
> 2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
> (usrAgt.indexOf("windows 98")!=-1)) || [\r][\n]"
> 2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
> ((usrAgt.indexOf("winnt")!=-1) ||[\r][\n]"
> 2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
> (usrAgt.indexOf("windows nt")!=-1)) ||[\r][\n]"
> 2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
> ((this.major >= 4) &&[\r][\n]"
> 2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
> (navigator.platform == "Win32")) ||[\r][\n]"
> 2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
> (usrAgt.indexOf("win32")!=-1) ||[\r][\n]"
> 2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]
> (usrAgt.indexOf("32bit")!=-1)); [\r][\n]"
> 2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]// 16-BIT
> WINDOWS[\r][\n]"
> 2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]// Native:
> Win16 ICA Client || Web: 16-bit Plug-in ICA Client if (ie || nav)[\r][\n]"
> 2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]//
> http://download.citrix.com/cgi-bin/license.cgi?client=w16[\r][\n]"
> 2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9] osWin16 =
> ((usrAgt.indexOf("win")!=-1) ||[\r][\n]"
> 2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]
> (usrAgt.indexOf("16bit")!=-1) ||[\r][\n]"
> 2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]
> (usrAgt.indexOf("windows 3.1")!=-1) ||[\r][\n]"
> 2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[0x9]
> (usrAgt.indexOf("windows 16-bit")!=-1));[\r][\n]"
> 2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:531 EEST [DEBUG] content - << " // Netscape 4.08
> browsers have problems running our Javascript to detect the[\r][\n]"
> 2005/05/02 15:20:18:531 EEST [DEBUG] content - << " // client. We
> don't do any client detection for this browser.[\r][\n]"
> 2005/05/02 15:20:18:531 EEST [DEBUG] content - << " noDetectAgent
> = nav && (usrAgt.indexOf("4.08") != -1);[\r][\n]"
> 2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[0x9]// OS/2[\r][\n]"
> 2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[0x9]// Native:
> Win16 ICA Client || Web: Java Applet ICA Client[\r][\n]"
> 2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[0x9]//
> http://download.citrix.com/cgi-bin/license.cgi?client=w16[\r][\n]"
> 2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[0x9] osOs2 =
> ((usrAgt.indexOf("os/2")!=-1) || [\r][\n]"
> 2005/05/02 15:20:18:546 EEST [DEBUG] content - <<
> "[0x9] (navigator.appVersion.indexOf("OS/2")!=-1) ||
> [\r][\n]"
> 2005/05/02 15:20:18:546 EEST [DEBUG] content - <<
> "[0x9] (usrAgt.indexOf("ibm-webexplorer")!=-1)); [\r][\n]"
> 2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[0x9]//
> MACINTOSH[\r][\n]"
> 2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[0x9]// Native:
> Macintosh ICA Client || Web: Java Applet ICA Client[\r][\n]"
> 2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[0x9]//
> http://download.citrix.com/cgi-bin/license.cgi?client=mac[\r][\n]"
> 2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[0x9] osMac =
> (usrAgt.indexOf("mac")!=-1);[\r][\n]"
> 2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]// SUN SUNOS,
> SOLARIS/SPARC, SOLARIS/X86[\r][\n]"
> 2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]// Native:
> SunOS or Solaris/Sparc or Solaris/x86 ICA Client || Web: Java Applet ICA
> Client[\r][\n]"
> 2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]// Having
> trouble differentiating these; all show as 'sunos'. [\r][\n]"
> 2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]// The version
> numbers might be a good tip-off if we want to refine this further.[\r][\n]"
> 2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]// In the
> meantime, having all 3 clients offered might be a good idea.[\r][\n]"
> 2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]//
> http://download.citrix.com/cgi-bin/license.cgi?client=unix_sunos[\r][\n]"
> 2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]//
> http://download.citrix.com/cgi-bin/license.cgi?client=unix_sparc[\r][\n]"
> 2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9]//
> http://download.citrix.com/cgi-bin/license.cgi?client=unix_x86[\r][\n]"
> 2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9] osSun =
> (usrAgt.indexOf("sunos")!=-1); [\r][\n]"
> 2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9]// SGI UNIX ICA
> Client[\r][\n]"
> 2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9]// Native: SGI
> ICA Client || Web: Java Applet ICA Client[\r][\n]"
> 2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9]//
> http://download.citrix.com/cgi-bin/license.cgi?client=unix_sgi[\r][\n]"
> 2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9] osSgi =
> (usrAgt.indexOf("irix") !=-1);[\r][\n]"
> 2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9]// HP/UX UNIX
> ICA Client[\r][\n]"
> 2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9]// Native:
> HP/UX ICA Client || Web: Java Applet ICA Client[\r][\n]"
> 2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9]//
> http://download.citri"
> 2005/05/02 15:20:18:593 EEST [DEBUG] content - <<
> "x.com/cgi-bin/license.cgi?client=unix_hpux[\r][\n]"
> 2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9] osHpux =
> (usrAgt.indexOf("hp-ux")!=-1);[\r][\n]"
> 2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9]// IBM AIX
> UNIX[\r][\n]"
> 2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9]// Native: IBM
> AIX ICA Client || Web: Java Applet ICA Client[\r][\n]"
> 2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9]//
> http://download.citrix.com/cgi-bin/license.cgi?client=unix_ibm[\r][\n]"
> 2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9] osAix =
> (usrAgt.indexOf("aix") !=-1);[\r][\n]"
> 2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9]// Linux[\r][\n]"
> 2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9]// Native:
> Linux ICA Client || Web: Java Applet ICA Client[\r][\n]"
> 2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9]//
> http://download.citrix.com/cgi-bin/license.cgi?client=linux[\r][\n]"
> 2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9] osLinux =
> (usrAgt.indexOf("linux")!=-1); [\r][\n]"
> 2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9]// SCO
> UNIX[\r][\n]"
> 2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9]// Native: SCO
> ICA Client || Web: Java Applet ICA Client[\r][\n]"
> 2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9]//
> http://download.citrix.com/cgi-bin/license.cgi?client=unix_sco[\r][\n]"
> 2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9] osSco =
> (usrAgt.indexOf("sco")!=-1) || (usrAgt.indexOf("unix_sv")!=-1);[\r][\n]"
> 2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9]// Compaq Tru64
> UNIX ICA Client (DEC)[\r][\n]"
> 2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9]// Native:
> Compaq Tru64 ICA Client || Web: Java Applet ICA Client[\r][\n]"
> 2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9]//
> http://download.citrix.com/cgi-bin/license.cgi?client=unix_tru64[\r][\n]"
> 2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9] osTru64 =
> ((usrAgt.indexOf("dec")!=-1) || (usrAgt.indexOf("osf1")!=-1) || [\r][\n]"
> 2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9]
> (usrAgt.indexOf("dec_alpha")!=-1) || (usrAgt.indexOf("alphaserver")!=-1)
> || [\r][\n]"
> 2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]
> (usrAgt.indexOf("ultrix")!=-1) || (usrAgt.indexOf("alphastation")!=-1)
> ||[\r][\n]"
> 2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]
> (usrAgt.indexOf("digitalunix")!=-1) || (usrAgt.indexOf("tru64")!=-1));
> [\r][\n]"
> 2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]// Non-matched
> variety of UNIX... should probably point to a "let the user decide" sort
> of page.[\r][\n]"
> 2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]// Also marks
> any UNIX-variety OSes caught above.[\r][\n]"
> 2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]// Most matches
> will likely come from Sinix, BSD, FreeBSD, Reliant, etc...[\r][\n]"
> 2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9] osUnix =
> ((usrAgt.indexOf("x11")!=-1) ||[\r][\n]"
> 2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]
> osSun ||[\r][\n]"
> 2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
> osSgi ||[\r][\n]"
> 2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
> osHpux ||[\r][\n]"
> 2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
> osAix ||[\r][\n]"
> 2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
> osSco ||[\r][\n]"
> 2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
> osTru64 ||[\r][\n]"
> 2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
> osLinux); [\r][\n]"
> 2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]// ### Setting
> of icaClientCode, used with icaClientInfo.js to retrieve data on
> appropriate ICA client.[0x9][0x9][0x9] [\r][\n]"
> 2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]// ICACLIENT
> CODES:[\r][\n]"
> 2005/05/02 15:20:18:687 EEST [DEBUG] content - << " // -1:
> UnSupported client[\r][\n]"
> 2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 1:
> Win32[\r][\n]"
> 2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 2:
> Win16[\r][\n]"
> 2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 3:
> Win16_Plugin[\r][\n]"
> 2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 4:
> Mac[\r][\n]"
> 2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 5:
> Solaris/Sparc[\r][\n]"
> 2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 6:
> Solaris/x86[\r][\n]"
> 2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 7:
> SunOS[\r][\n]"
> 2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 8:
> SGI[\r][\n]"
> 2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]// [0x9] 9:
> HP/UX[\r][\n]"
> 2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]10:
> IBM/AIX[\r][\n]"
> 2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]11:
> SCO[\r][\n]"
> 2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]12:
> DEC/Tru64[\r][\n]"
> 2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]13:
> Linux[\r][\n]"
> 2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]14: JAVA
> Application[\r][\n]"
> 2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]15: Java
> Applet[\r][\n]"
> 2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:703 EEST [DEBUG] content - << " icaClientCode
> = -1;[\r][\n]"
> 2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9] [\r][\n]"
> 2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]if
> (osWin32)[0x9]{ icaClientCode = 1; }[\r][\n]"
> 2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
> 2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]if
> (osWin16)[0x9]{ icaClientCode = 2; }[\r][\n]"
> 2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
> 2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]if
> (osOs2)[0x9][0x9]{[\r][\n]"
> 2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9][0x9]if
> (isApplet) { icaClientCode = 15; }[\r][\n]"
> 2005/05/02 15:20:18:718 EEST [DEBUG] content - <<
> "[0x9][0x9]else[0x9][0x9][0x9]{ icaClientCode = 2; }[\r][\n]"
> 2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]}[\r][\n]"
> 2005/05/02 15:20:18:734 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
> 2005/05/02 15:20:18:734 EEST [DEBUG] content - << "[0x9]if
> (osMac)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 4; } }[\r][\n]"
> 2005/05/02 15:20:18:734 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
> 2005/05/02 15:20:18:875 EEST [DEBUG] content - << "[0x9]if
> (osSun)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 0; } }[\r][\n]"
> 2005/05/02 15:20:18:875 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
> 2005/05/02 15:20:18:875 EEST [DEBUG] content - << "[0x9]if
> (osSgi)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 8; } }[\r][\n]"
> 2005/05/02 15:20:18:875 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
> 2005/05/02 15:20:18:875 EEST [DEBUG] content - << "[0x9]if
> (osHpux)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 9; } }[\r][\n]"
> 2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
> 2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]if
> (osAix)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 10; } }[\r][\n]"
> 2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
> 2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]if
> (osSco)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 11; } }[\r][\n]"
> 2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
> 2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]if
> (osTru64)[0x9]{ if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 12; } }[\r][\n]"
> 2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
> 2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]if
> (osLinux)[0x9]{ if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 13; } }[\r][\n]"
> 2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
> 2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]if (isApplet) {
> icaClientCode = 15; } else { icaClientCode = 14; } [\r][\n]"
> 2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]// ### Setting
> of icaObjectCode.[0x9][0x9][0x9] [\r][\n]"
> 2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]// ICAOBJECT
> CODES:[\r][\n]"
> 2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]//[0x9] 0:
> Native[\r][\n]"
> 2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]//[0x9] 1:
> ActiveX[\r][\n]"
> 2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]//[0x9] 2:
> Plugin32[\r][\n]"
> 2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]//[0x9] 3:
> Plugin16[\r][\n]"
> 2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[0x9]if (ie &&
> osWin32)[0x9]{ icaObjectCode = 1; }[\r][\n]"
> 2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[0x9]else if (nav &&
> osWin32) [0x9]{ icaObjectCode = 2; }[\r][\n]"
> 2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[0x9]else if (osWin16
> && (ie || nav))[0x9]{ icaObjectCode = 3; }[\r][\n]"
> 2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[0x9]else {
> icaObjectCode = 0; }[\r][\n]"
> 2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:921 EEST [DEBUG] content - << " // Add 100 to
> indicate that we don't want any client detection.[\r][\n]"
> 2005/05/02 15:20:18:921 EEST [DEBUG] content - << " if
> (noDetectAgent) {[\r][\n]"
> 2005/05/02 15:20:18:921 EEST [DEBUG] content - << " icaObjectCode
> += 100;[\r][\n]"
> 2005/05/02 15:20:18:937 EEST [DEBUG] content - << " }[\r][\n]"
> 2005/05/02 15:20:18:937 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:937 EEST [DEBUG] content - << " // ###
> Setting of icaBrowserCode[\r][\n]"
> 2005/05/02 15:20:18:937 EEST [DEBUG] content - << " // ICABROWSER
> CODES:[\r][\n]"
> 2005/05/02 15:20:18:937 EEST [DEBUG] content - << " // 0:
> Unknown[\r][\n]"
> 2005/05/02 15:20:18:937 EEST [DEBUG] content - << " // 1:
> IE[\r][\n]"
> 2005/05/02 15:20:18:937 EEST [DEBUG] content - << " // 2:
> Netscape[\r][\n]"
> 2005/05/02 15:20:18:937 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:937 EEST [DEBUG] content - << " if (ie)
> { icaBrowserCode = 1; }[\r][\n]"
> 2005/05/02 15:20:18:953 EEST [DEBUG] content - << " else if (nav)
> { icaBrowserCode = 2; }[\r][\n]"
> 2005/05/02 15:20:18:953 EEST [DEBUG] content - << " else
> { icaBrowserCode = 0; }[\r][\n]"
> 2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[0x9]// Get screen
> resolution for embedded apps as a percentage of screen size[\r][\n]"
> 2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[0x9]var ScreenWidth,
> ScreenHeight, strResolution;[\r][\n]"
> 2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[0x9]ScreenWidth =
> window.screen.width;[\r][\n]"
> 2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[0x9]ScreenHeight = wind"
> 2005/05/02 15:20:18:953 EEST [DEBUG] content - <<
> "ow.screen.height;[\r][\n]"
> 2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[0x9]strResolution =
> ScreenWidth + 'x' + ScreenHeight;[\r][\n]"
> 2005/05/02 15:20:18:968 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:968 EEST [DEBUG] content - << " // ### Store
> cookies on user browser for NFuse use.[\r][\n]"
> 2005/05/02 15:20:18:968 EEST [DEBUG] content - << "
> document.cookie = "icaClientCode=" + icaClientCode;[\r][\n]"
> 2005/05/02 15:20:18:968 EEST [DEBUG] content - << "
> document.cookie = "icaObjectCode=" + icaObjectCode;[\r][\n]"
> 2005/05/02 15:20:18:968 EEST [DEBUG] content - << "
> document.cookie = "icaBrowserCode=" + icaBrowserCode;[\r][\n]"
> 2005/05/02 15:20:18:968 EEST [DEBUG] content - << "
> document.cookie = "icaScreen"
> 2005/05/02 15:20:18:968 EEST [DEBUG] content - << "Resolution=" +
> strResolution[\r][\n]"
> 2005/05/02 15:20:18:968 EEST [DEBUG] content - << "[\r][\n]"
> 2005/05/02 15:20:18:968 EEST [DEBUG] content - <<
> "location='login.asp'[\r][\n]"
> 2005/05/02 15:20:19:000 EEST [DEBUG] content - << "[0x9]//-->[\r][\n]"
> 2005/05/02 15:20:19:000 EEST [DEBUG] content - << "[0x9]</SCRIPT>[\r][\n]"
> 2005/05/02 15:20:19:000 EEST [DEBUG] content - << "<body>[\r][\n]"
> 2005/05/02 15:20:19:000 EEST [DEBUG] content - << "</body>[\r][\n]"
> 2005/05/02 15:20:19:000 EEST [DEBUG] content - << "</html>[\r][\n]"
> 2005/05/02 15:20:19:000 EEST [DEBUG] HttpMethodBase - Resorting to
> protocol version default close connection policy
> 2005/05/02 15:20:19:000 EEST [DEBUG] HttpMethodBase - Should NOT close
> connection, using HTTP/1.1
> 2005/05/02 15:20:19:000 EEST [DEBUG] HttpConnection - Releasing
> connection back to connection manager.
> 2005/05/02 15:20:19:000 EEST [DEBUG] HttpMethodBase - Default charset
> used: ISO-8859-1
>
>
> <html>
> <HEAD>
> <META HTTP-EQUIV="Set-Cookie" VALUE="NFuseData=; expires=29-Nov-1997
> 12:00:00 GMT; path=/;">
> <SCRIPT Language="JavaScript" type="text/javascript">
> <!--
>
> // Pull userAgent from browser.
> var usrAgt = navigator.userAgent.toLowerCase();
> // isApplet is automatically set by the NFuse Web Site Wizard.
> var isApplet = false;
>
> // #########################
> // ### BROWSER DETECTION ###
> // #########################
> // booleans:
> // ie : Internet Explorer
> // nav : Netscape Navigator
>
> // A small percentage of IE browsers return 'Internet Explorer'
> instead of 'MSIE' in usrAgt.
> var ie =((usrAgt.indexOf("msie")!=-1)
> || (usrAgt.indexOf("Internet Explorer")!=-1));
>
> // A small percentage of IE browsers do not include 'compatible' in
> usrAgt; also check for 'MSIE'.
> var nav =((usrAgt.indexOf('mozilla')!=-1)
> && (usrAgt.indexOf('msie')==-1)
> && (usrAgt.indexOf('spoofer')==-1)
> && (usrAgt.indexOf('compatible')==-1)
> && (usrAgt.indexOf('opera')==-1)
> && (usrAgt.indexOf('webtv')==-1));
>
> // ##########################
> // ### PLATFORM DETECTION ###
> // ##########################
> // booleans:
> // osWin32 osSun osLinux
> // osWin16 osSgi osSco
> // osOs2 osHpux osTru64
> // osMac osAix osUnix
>
> // 32-BIT WINDOWS
> // Native: 32-bit ICA Client || Web: ActiveX ICA Client if
> (ie=true), 32-bit Plug-in ICA Client if (nav=true)
> // http://download.citrix.com/cgi-bin/license.cgi?client=w32
> osWin32 = (((usrAgt.indexOf("win95")!=-1) ||
> (usrAgt.indexOf("windows 95")!=-1) ||
> (usrAgt.indexOf("win98")!=-1) ||
> (usrAgt.indexOf("windows 98")!=-1)) ||
> ((usrAgt.indexOf("winnt")!=-1) ||
> (usrAgt.indexOf("windows nt")!=-1)) ||
> ((this.major >= 4) &&
> (navigator.platform == "Win32")) ||
> (usrAgt.indexOf("win32")!=-1) ||
> (usrAgt.indexOf("32bit")!=-1));
>
> // 16-BIT WINDOWS
> // Native: Win16 ICA Client || Web: 16-bit Plug-in ICA Client if
> (ie || nav)
> // http://download.citrix.com/cgi-bin/license.cgi?client=w16
> osWin16 = ((usrAgt.indexOf("win")!=-1) ||
> (usrAgt.indexOf("16bit")!=-1) ||
> (usrAgt.indexOf("windows 3.1")!=-1) ||
> (usrAgt.indexOf("windows 16-bit")!=-1));
>
> // Netscape 4.08 browsers have problems running our Javascript to
> detect the
> // client. We don't do any client detection for this browser.
> noDetectAgent = nav && (usrAgt.indexOf("4.08") != -1);
>
> // OS/2
> // Native: Win16 ICA Client || Web: Java Applet ICA Client
> // http://download.citrix.com/cgi-bin/license.cgi?client=w16
> osOs2 = ((usrAgt.indexOf("os/2")!=-1) ||
> (navigator.appVersion.indexOf("OS/2")!=-1) ||
> (usrAgt.indexOf("ibm-webexplorer")!=-1));
>
> // MACINTOSH
> // Native: Macintosh ICA Client || Web: Java Applet ICA Client
> // http://download.citrix.com/cgi-bin/license.cgi?client=mac
> osMac = (usrAgt.indexOf("mac")!=-1);
>
> // SUN SUNOS, SOLARIS/SPARC, SOLARIS/X86
> // Native: SunOS or Solaris/Sparc or Solaris/x86 ICA Client || Web:
> Java Applet ICA Client
> // Having trouble differentiating these; all show as 'sunos'.
> // The version numbers might be a good tip-off if we want to refine
> this further.
> // In the meantime, having all 3 clients offered might be a good idea.
> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_sunos
> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_sparc
> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_x86
> osSun = (usrAgt.indexOf("sunos")!=-1);
>
> // SGI UNIX ICA Client
> // Native: SGI ICA Client || Web: Java Applet ICA Client
> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_sgi
> osSgi = (usrAgt.indexOf("irix") !=-1);
>
> // HP/UX UNIX ICA Client
> // Native: HP/UX ICA Client || Web: Java Applet ICA Client
> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_hpux
> osHpux = (usrAgt.indexOf("hp-ux")!=-1);
>
> // IBM AIX UNIX
> // Native: IBM AIX ICA Client || Web: Java Applet ICA Client
> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_ibm
> osAix = (usrAgt.indexOf("aix") !=-1);
>
> // Linux
> // Native: Linux ICA Client || Web: Java Applet ICA Client
> // http://download.citrix.com/cgi-bin/license.cgi?client=linux
> osLinux = (usrAgt.indexOf("linux")!=-1);
>
> // SCO UNIX
> // Native: SCO ICA Client || Web: Java Applet ICA Client
> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_sco
> osSco = (usrAgt.indexOf("sco")!=-1) ||
> (usrAgt.indexOf("unix_sv")!=-1);
>
> // Compaq Tru64 UNIX ICA Client (DEC)
> // Native: Compaq Tru64 ICA Client || Web: Java Applet ICA Client
> // http://download.citrix.com/cgi-bin/license.cgi?client=unix_tru64
> osTru64 = ((usrAgt.indexOf("dec")!=-1) ||
> (usrAgt.indexOf("osf1")!=-1) ||
> (usrAgt.indexOf("dec_alpha")!=-1) ||
> (usrAgt.indexOf("alphaserver")!=-1) ||
> (usrAgt.indexOf("ultrix")!=-1) ||
> (usrAgt.indexOf("alphastation")!=-1) ||
> (usrAgt.indexOf("digitalunix")!=-1) ||
> (usrAgt.indexOf("tru64")!=-1));
>
> // Non-matched variety of UNIX... should probably point to a "let
> the user decide" sort of page.
> // Also marks any UNIX-variety OSes caught above.
> // Most matches will likely come from Sinix, BSD, FreeBSD, Reliant,
> etc...
> osUnix = ((usrAgt.indexOf("x11")!=-1) ||
> osSun ||
> osSgi ||
> osHpux ||
> osAix ||
> osSco ||
> osTru64 ||
> osLinux);
>
> // ### Setting of icaClientCode, used with icaClientInfo.js to
> retrieve data on appropriate ICA client.
> // ICACLIENT CODES:
> // -1: UnSupported client
> // 1: Win32
> // 2: Win16
> // 3: Win16_Plugin
> // 4: Mac
> // 5: Solaris/Sparc
> // 6: Solaris/x86
> // 7: SunOS
> // 8: SGI
> // 9: HP/UX
> // 10: IBM/AIX
> // 11: SCO
> // 12: DEC/Tru64
> // 13: Linux
> // 14: JAVA Application
> // 15: Java Applet
>
> icaClientCode = -1;
>
> if (osWin32) { icaClientCode = 1; }
> else
> if (osWin16) { icaClientCode = 2; }
> else
> if (osOs2) {
> if (isApplet) { icaClientCode = 15; }
> else { icaClientCode = 2; }
> }
> else
> if (osMac) { if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 4; } }
> else
> if (osSun) { if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 0; } }
> else
> if (osSgi) { if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 8; } }
> else
> if (osHpux) { if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 9; } }
> else
> if (osAix) { if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 10; } }
> else
> if (osSco) { if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 11; } }
> else
> if (osTru64) { if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 12; } }
> else
> if (osLinux) { if (isApplet) { icaClientCode = 15; } else {
> icaClientCode = 13; } }
> else
> if (isApplet) { icaClientCode = 15; } else { icaClientCode = 14; }
>
> // ### Setting of icaObjectCode.
> // ICAOBJECT CODES:
> // 0: Native
> // 1: ActiveX
> // 2: Plugin32
> // 3: Plugin16
>
> if (ie && osWin32) { icaObjectCode = 1; }
> else if (nav && osWin32) { icaObjectCode = 2; }
> else if (osWin16 && (ie || nav)) { icaObjectCode = 3; }
> else { icaObjectCode = 0; }
>
> // Add 100 to indicate that we don't want any client detection.
> if (noDetectAgent) {
> icaObjectCode += 100;
> }
>
> // ### Setting of icaBrowserCode
> // ICABROWSER CODES:
> // 0: Unknown
> // 1: IE
> // 2: Netscape
>
> if (ie) { icaBrowserCode = 1; }
> else if (nav) { icaBrowserCode = 2; }
> else { icaBrowserCode = 0; }
>
> // Get screen resolution for embedded apps as a percentage of screen
> size
> var ScreenWidth, ScreenHeight, strResolution;
> ScreenWidth = window.screen.width;
> ScreenHeight = window.screen.height;
> strResolution = ScreenWidth + 'x' + ScreenHeight;
>
> // ### Store cookies on user browser for NFuse use.
> document.cookie = "icaClientCode=" + icaClientCode;
> document.cookie = "icaObjectCode=" + icaObjectCode;
> document.cookie = "icaBrowserCode=" + icaBrowserCode;
> document.cookie = "icaScreenResolution=" + strResolution
>
> location='login.asp'
> //-->
> </SCRIPT>
> <body>
> </body>
> </html>
>
> 2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "POST /asp/login.asp
> HTTP/1.1[\r][\n]"
> 2005/05/02 15:20:19:031 EEST [DEBUG] HttpMethodBase - Adding Host
> request header
> 2005/05/02 15:20:19:031 EEST [DEBUG] HttpMethodBase - Default charset
> used: ISO-8859-1
> 2005/05/02 15:20:19:031 EEST [DEBUG] HttpMethodBase - Default charset
> used: ISO-8859-1
> 2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "User-Agent: Jakarta
> Commons-HttpClient/3.0-rc2[\r][\n]"
> 2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "Host:
> 3000xtra.glbl1.reuters.com[\r][\n]"
> 2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "Cookie:
> icaObjectCode=2[\r][\n]"
> 2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "Cookie:
> icaClientCode=1[\r][\n]"
> 2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "Cookie:
> icaScreenResolution=12800x960[\r][\n]"
> 2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "Cookie:
> icaBrowserCode=2[\r][\n]"
> 2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "Cookie:
> NFuseUseSavedFolder=Off[\r][\n]"
> 2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "Cookie:
> ASPSESSIONIDQAQRRRCD=JNMAKGNBIAGHAJBHLGGHBAPN[\r][\n]"
> 2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "Content-Length:
> 70[\r][\n]"
> 2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "Content-Type:
> application/x-www-form-urlencoded[\r][\n]"
> 2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "[\r][\n]"
> 2005/05/02 15:20:19:046 EEST [DEBUG] HttpMethodBase - Default charset
> used: ISO-8859-1
> 2005/05/02 15:20:19:046 EEST [DEBUG] content - >>
> "LoginType=Explicit&user=mpektas%40ibb.gov.tr&password=iBB1gnls&domain="
> 2005/05/02 15:20:19:046 EEST [DEBUG] EntityEnclosingMethod - Request
> body sent
> 2005/05/02 15:20:19:296 EEST [DEBUG] header - << "HTTP/1.1 100
> Continue[\r][\n]"
> 2005/05/02 15:20:19:296 EEST [DEBUG] header - << "Server:
> Microsoft-IIS/5.0[\r][\n]"
> 2005/05/02 15:20:19:296 EEST [DEBUG] header - << "Date: Mon, 02 May 2005
> 12:18:15 GMT[\r][\n]"
> 2005/05/02 15:20:19:296 EEST [INFO] HttpMethodBase - Discarding
> unexpected response: HTTP/1.1 100 Continue
> 2005/05/02 15:20:19:671 EEST [DEBUG] header - << "HTTP/1.1 500 Internal
> Server Error[\r][\n]"
> 2005/05/02 15:20:19:671 EEST [DEBUG] header - << "Server:
> Microsoft-IIS/5.0[\r][\n]"
> 2005/05/02 15:20:19:671 EEST [DEBUG] header - << "Date: Mon, 02 May 2005
> 12:18:15 GMT[\r][\n]"
> 2005/05/02 15:20:19:671 EEST [DEBUG] header - << "Content-Length:
> 286[\r][\n]"
> 2005/05/02 15:20:19:671 EEST [DEBUG] header - << "Content-Type:
> text/html[\r][\n]"
> 2005/05/02 15:20:19:687 EEST [DEBUG] header - << "Set-Cookie:
> NFuseUseSavedFolder=Off; path=/asp[\r][\n]"
> 2005/05/02 15:20:19:687 EEST [DEBUG] header - << "Cache-control:
> private[\r][\n]"
> 2005/05/02 15:20:19:687 EEST [DEBUG] HttpMethodBase - Cookie accepted:
> "NFuseUseSavedFolder=Off"
> 2005/05/02 15:20:19:687 EEST [DEBUG] content - << " <font face="Arial"
> size=2>[\n]"
> 2005/05/02 15:20:19:687 EEST [DEBUG] content - << "<p>Microsoft VBScript
> runtime </font> <font face="Arial" size=2>error '800a000d'</font>[\n]"
> 2005/05/02 15:20:19:687 EEST [DEBUG] content - << "<p>[\n]"
> 2005/05/02 15:20:19:687 EEST [DEBUG] content - << "<font face="Arial"
> size=2>Type mismatch: 'icaObjectCode'</font>[\n]"
> 2005/05/02 15:20:19:687 EEST [DEBUG] content - << "<p"
> 2005/05/02 15:20:19:687 EEST [DEBUG] content - << ">[\n]"
> 2005/05/02 15:20:19:703 EEST [DEBUG] content - << "<font face="Arial"
> size=2>/asp/include/login.vbs</font><font face="Arial" size=2>, line
> 34</font> "
> 2005/05/02 15:20:19:703 EEST [DEBUG] HttpMethodBase - Resorting to
> protocol version default close connection policy
> 2005/05/02 15:20:19:703 EEST [DEBUG] HttpMethodBase - Should NOT close
> connection, using HTTP/1.1
> 2005/05/02 15:20:19:703 EEST [DEBUG] HttpConnection - Releasing
> connection back to connection manager.
> Internal Server Error
> 2005/05/02 15:20:19:718 EEST [DEBUG] header - >> "GET
> /asp/launch.asp?NFuse_Application=3000x0020Xtrax0020452&NFuse_AppFriendlyNameURLEncoded=3000x0020Xtrax0020452
> HTTP/1.1[\r][\n]"
> 2005/05/02 15:20:19:718 EEST [DEBUG] HttpMethodBase - Adding Host
> request header
> 2005/05/02 15:20:19:718 EEST [DEBUG] header - >> "User-Agent: Jakarta
> Commons-HttpClient/3.0-rc2[\r][\n]"
> 2005/05/02 15:20:19:718 EEST [DEBUG] header - >> "Host:
> 3000xtra.glbl1.reuters.com[\r][\n]"
> 2005/05/02 15:20:19:718 EEST [DEBUG] header - >> "Cookie:
> icaObjectCode=2[\r][\n]"
> 2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "Cookie:
> icaClientCode=1[\r][\n]"
> 2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "Cookie:
> icaScreenResolution=12800x960[\r][\n]"
> 2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "Cookie:
> icaBrowserCode=2[\r][\n]"
> 2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "Cookie:
> NFuseUseSavedFolder=On[\r][\n]"
> 2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "Cookie:
> ASPSESSIONIDQAQRRRCD=JNMAKGNBIAGHAJBHLGGHBAPN[\r][\n]"
> 2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "[\r][\n]"
> 2005/05/02 15:20:20:000 EEST [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
> 2005/05/02 15:20:20:000 EEST [DEBUG] header - << "Server:
> Microsoft-IIS/5.0[\r][\n]"
> 2005/05/02 15:20:20:000 EEST [DEBUG] header - << "Date: Mon, 02 May 2005
> 12:18:16 GMT[\r][\n]"
> 2005/05/02 15:20:20:000 EEST [DEBUG] header - << "Content-Length:
> 115[\r][\n]"
> 2005/05/02 15:20:20:000 EEST [DEBUG] header - << "Content-Type:
> text/html[\r][\n]"
> 2005/05/02 15:20:20:000 EEST [DEBUG] header - << "Cache-control:
> private[\r][\n]"
> 2005/05/02 15:20:20:000 EEST [DEBUG] HttpMethodBase - Buffering response
> body
> 2005/05/02 15:20:20:515 EEST [DEBUG] content - << "<script languag"
> 2005/05/02 15:20:20:515 EEST [DEBUG] content - << "e='JavaScript'>[\r][\n]"
> 2005/05/02 15:20:20:515 EEST [DEBUG] content - << "<!--[\r][\n]"
> 2005/05/02 15:20:20:515 EEST [DEBUG] content - << "parent.location.href
> = 'redirect.asp?NFuse_loginErrorId=On'//-->[\r][\n]"
> 2005/05/02 15:20:20:515 EEST [DEBUG] content - << "</script>[\r][\n]"
> 2005/05/02 15:20:20:515 EEST [DEBUG] HttpMethodBase - Resorting to
> protocol version default close connection policy
> 2005/05/02 15:20:20:515 EEST [DEBUG] HttpMethodBase - Should NOT close
> connection, using HTTP/1.1
> 2005/05/02 15:20:20:515 EEST [DEBUG] HttpConnection - Releasing
> connection back to connection manager.
> 2005/05/02 15:20:20:515 EEST [DEBUG] HttpMethodBase - Default charset
> used: ISO-8859-1
> <script language='JavaScript'>
> <!--
> parent.location.href = 'redirect.asp?NFuse_loginErrorId=On'//-->
> </script>
>
> OK
>
>
>
>
>
>
>
>
>
>
> Oleg Kalnichevski wrote:
>
> >Ganime,
> >
> >Could you produce a complete wire log of the HTTP session (see this
> >document for details
> ><http://jakarta.apache.org/commons/httpclient/3.0/logging.html>?
> >
> >I suspect the cookies are not included in the request due to a mismatch
> >between the domain attribute of the cookie and the host name of the
> >target server
> >
> >Cheers,
> >
> >Oleg
> >
> >
> >On Fri, 2005-04-29 at 10:56 +0300, Ganime Betül AKIN wrote:
> >
> >
> >>Hello,
> >>I am trying to browse thru a site. The first page contains javascript
> >>that checks my user-agent info and sets some cookies by using the following
> >>
> >>document.cookie = "icaClientCode=" + icaClientCode;
> >>document.cookie = "icaObjectCode=" + icaObjectCode;
> >>document.cookie = "icaBrowserCode=" + icaBrowserCode;
> >>document.cookie = "icaScreenResolution=" + strResolution
> >>
> >>so, what I am doing it, I am manually setting the cookies
> >>
> >>client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
> >>"icaObjectCode", "1","/asp/", null,false));
> >>client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
> >>"icaClientCode", "1", "/asp/", null,false));
> >>client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
> >>"icaScreenResolution", "12800x960", "/asp/", null,false));
> >>client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
> >>"icaBrowserCode", "2","/asp/", null,false));
> >>
> >>
> >>But when I post to the next page, I get the error
> >>
> >>Internal Server Error
> >> <font face="Arial" size=2>
> >><p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error
> >>'800a000d'</font>
> >><p>
> >><font face="Arial" size=2>Type mismatch: 'icaObjectCode'</font>
> >><p>
> >><font face="Arial" size=2>/asp/include/login.vbs</font><font
> >>face="Arial" size=2>, line 34</font>
> >>
> >>well I managed to download this login.vbs and the problem seems to be in
> >>the lines
> >>
> >> Dim icaObjectCode
> >> icaObjectCode = Request.Cookies("icaObjectCode")
> >> If Len(icaObjectCode) > 0 Then
> >> isIE = CBool(icaObjectCode = 1)
> >> Else
> >> isIE = false
> >> End If
> >>End Sub
> >>
> >>it must be a mismatch with the value I assign to icaObjectCode. Bu how
> >>do I get around this problem?
> >>
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> >>
> >>
> >>
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
Re: problem with cookie set by javascript
Posted by Ganime Betül AKIN <ba...@ibb.gov.tr>.
I did as you have told. It seems to me, when I set the cookie
"iaobjectcode" to "2", server-side script tries to make the comparison
If Len(icaObjectCode) > 0 Then
isIE = CBool(icaObjectCode = 1)
Else
and it cannot match the string "2", to integer 1, hence the error, type
mismatch.
Here is my source code:
System.setProperty("org.apache.commons.logging.Log","org.apache.commons.logging.impl.SimpleLog");
System.setProperty("org.apache.commons.logging.simplelog.showdatetime","true");
System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire",
"debug");
System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient",
"debug");
String LOGON_SITE = "https://3000xtra.glbl1.reuters.com";
int LOGON_PORT = 443;
boolean accountCreated = false;
String resposeBody;
HttpClient client = new HttpClient();
client.getHostConfiguration().setHost(LOGON_SITE, LOGON_PORT);
client.getHostConfiguration().setProxy("10.1.9.5", 8080);
//
CookiePolicy.registerCookieSpec(CookiePolicy.BROWSER_COMPATIBILITY,
// CookieSpecBase.class);
client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY);
int statusCode =0;
//**********************************first go to
login.asp************************
GetMethod authget = new GetMethod(LOGON_SITE + "/asp/login.asp");
//authget.setFollowRedirects(true);
try {
statusCode = client.executeMethod(authget);
} catch (HttpException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
System.out.println(HttpStatus.getStatusText(statusCode));
System.out.println(authget.getResponseBodyAsString());
authget.releaseConnection();
//**********************************since the following is set by
javascrit, set them manually************************
client.getState().addCookie(new
Cookie("3000xtra.glbl1.reuters.com", "icaObjectCode", "2","/asp/",
null,false));
client.getState().addCookie(new
Cookie("3000xtra.glbl1.reuters.com", "icaClientCode", "1", "/asp/",
null,false));
client.getState().addCookie(new
Cookie("3000xtra.glbl1.reuters.com", "icaScreenResolution", "12800x960",
"/asp/", null,false));
client.getState().addCookie(new
Cookie("3000xtra.glbl1.reuters.com", "icaBrowserCode", "2","/asp/",
null,false));
/*authget = new GetMethod(LOGON_SITE + "/asp/login.asp");
//authget.setFollowRedirects(true);
try {
statusCode = client.executeMethod(authget);
} catch (HttpException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
System.out.println(HttpStatus.getStatusText(statusCode));
System.out.println(authget.getResponseBodyAsString());
// System.out.println("Login form get: " +
authget.getStatusLine().toString());
// release any connection resources used by the method
authget.releaseConnection();
*/
// login to the admin console
//**********************************perform a post to login.aso with
your user name and password***********************
PostMethod authpost = new PostMethod(LOGON_SITE + "/asp/login.asp");
NameValuePair nvp0= new NameValuePair("LoginType","Explicit");
NameValuePair nvp1= new NameValuePair("user","user1");
NameValuePair nvp2= new NameValuePair("password","passwd1");
NameValuePair nvp3= new NameValuePair("domain","");
authpost.setRequestBody(new NameValuePair[] {nvp0, nvp1, nvp2,
nvp3});
try {
statusCode = client.executeMethod(authpost);
} catch (HttpException ex) {
ex.printStackTrace();
} catch (IOException ex) {
ex.printStackTrace();
}
authpost.releaseConnection();
System.out.println(HttpStatus.getStatusText(statusCode));
statusCode = authpost.getStatusCode();
if ((statusCode == HttpStatus.SC_MOVED_TEMPORARILY) ||
(statusCode == HttpStatus.SC_MOVED_PERMANENTLY) ||
(statusCode == HttpStatus.SC_SEE_OTHER) ||
(statusCode == HttpStatus.SC_TEMPORARY_REDIRECT)) {
Header header = authpost.getResponseHeader("location");
if (header != null) {
String newuri = header.getValue();
if ((newuri == null) || (newuri.equals(""))) {
newuri = "/";
}
//**********************************it will forward to
frameset.asp***********************
// System.out.println("Redirect target: " + newuri);
GetMethod redirect = new GetMethod(LOGON_SITE + "/asp/"
+newuri);
redirect.setFollowRedirects(true);
try {
statusCode = client.executeMethod(redirect);
} catch (HttpException e2) {
e2.printStackTrace();
} catch (IOException e2) {
e2.printStackTrace();
}
System.out.println(redirect.getResponseBodyAsString());
// System.out.println("Redirect: " +
redirect.getStatusLine().toString());
// release any connection resources used by the
method
redirect.releaseConnection();
} else {
System.out.println("invalid redirect");
}
}
Cookie[] cookies = client.getState().getCookies();
for (int i=0;i<cookies.length;i++) {
Cookie cookie = cookies[i];
if(cookie.getName().equals("NFuseUseSavedFolder")) {
cookie.setValue("On");
break;
}
}
//**********************************this is my real target. I have done
everything above to reach this page but in the end, I get an loginid
error***********************
GetMethod creatUser = new GetMethod(LOGON_SITE + "/asp/launch.asp");
creatUser.setFollowRedirects(true);
// Prepare login parameters
NameValuePair action1 = new NameValuePair("NFuse_Application",
"3000x0020Xtrax0020452");
NameValuePair action2 = new
NameValuePair("NFuse_AppFriendlyNameURLEncoded", "3000x0020Xtrax0020452");
creatUser.setQueryString(
new NameValuePair[] {action1, action2});
try {
statusCode = client.executeMethod(creatUser);
System.out.println(creatUser.getResponseBodyAsString());
} catch (HttpException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
System.out.println(HttpStatus.getStatusText(statusCode));
creatUser.releaseConnection();
int statuscode2 = creatUser.getStatusCode();
if ((statuscode2 == HttpStatus.SC_MOVED_TEMPORARILY) ||
(statuscode2 == HttpStatus.SC_MOVED_PERMANENTLY) ||
(statuscode2 == HttpStatus.SC_SEE_OTHER) ||
(statuscode2 == HttpStatus.SC_TEMPORARY_REDIRECT)) {
Header header = creatUser.getResponseHeader("location");
if (header != null) {
String newuri = header.getValue();
if ((newuri == null) || (newuri.equals(""))) {
newuri = "/";
}
accountCreated = true;
GetMethod redirect = new GetMethod(newuri);
try {
client.executeMethod(redirect);
} catch (HttpException e2) {
e2.printStackTrace();
} catch (IOException e2) {
e2.printStackTrace();
}
redirect.releaseConnection();
} else {
System.out.println("invalid redirect 2");
}
}
}
*******************************************************************
here is where the error occurs in login.vbs
logonMode = Request.Cookies("NFuseLogin")("NFuse_LogonMode")
Dim icaObjectCode
icaObjectCode = Request.Cookies("icaObjectCode")
If Len(icaObjectCode) > 0 Then
isIE = CBool(icaObjectCode = 1)
Else
isIE = false
End If
**********************************************************************
and here is the log
2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Java version: 1.4.2_08
2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Java vendor: Sun
Microsystems Inc.
2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Java class path:
C:\workspace\KIK;C:\workspace\HTTPCLIENT;C:\eclipse\jar\commons-codec-1.3\commons-codec-1.3.jar;C:\eclipse\jar\commons-logging-1.0.4\commons-logging-api.jar;C:\eclipse\jar\commons-logging-1.0.4\commons-logging.jar
2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Operating system name:
Windows 2000
2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Operating system
architecture: x86
2005/05/02 15:20:15:062 EEST [DEBUG] HttpClient - Operating system
version: 5.0
2005/05/02 15:20:15:203 EEST [DEBUG] HttpClient - SUN 1.42: SUN (DSA
key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom;
X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX
CertPathBuilder; LDAP, Collection CertStores)
2005/05/02 15:20:15:218 EEST [DEBUG] HttpClient - SunJSSE 1.42: Sun JSSE
provider(implements RSA Signatures, PKCS12, SunX509 key/trust factories,
SSLv3, TLSv1)
2005/05/02 15:20:15:218 EEST [DEBUG] HttpClient - SunRsaSign 1.42: SUN's
provider for RSA signatures
2005/05/02 15:20:15:218 EEST [DEBUG] HttpClient - SunJCE 1.42: SunJCE
Provider (implements DES, Triple DES, AES, Blowfish, PBE,
Diffie-Hellman, HMAC-MD5, HMAC-SHA1)
2005/05/02 15:20:15:218 EEST [DEBUG] HttpClient - SunJGSS 1.0: Sun
(Kerberos v5)
2005/05/02 15:20:15:218 EEST [DEBUG] DefaultHttpParams - Set parameter
http.useragent = Jakarta Commons-HttpClient/3.0-rc2
2005/05/02 15:20:15:218 EEST [DEBUG] DefaultHttpParams - Set parameter
http.protocol.version = HTTP/1.1
2005/05/02 15:20:15:218 EEST [DEBUG] DefaultHttpParams - Set parameter
http.connection-manager.class = class
org.apache.commons.httpclient.SimpleHttpConnectionManager
2005/05/02 15:20:15:234 EEST [DEBUG] DefaultHttpParams - Set parameter
http.protocol.cookie-policy = rfc2109
2005/05/02 15:20:15:234 EEST [DEBUG] DefaultHttpParams - Set parameter
http.protocol.element-charset = US-ASCII
2005/05/02 15:20:15:234 EEST [DEBUG] DefaultHttpParams - Set parameter
http.protocol.content-charset = ISO-8859-1
2005/05/02 15:20:15:234 EEST [DEBUG] DefaultHttpParams - Set parameter
http.method.retry-handler =
org.apache.commons.httpclient.DefaultHttpMethodRetryHandler@1815859
2005/05/02 15:20:15:250 EEST [DEBUG] DefaultHttpParams - Set parameter
http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE,
dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy
HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE
dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy
HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss z,
EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy
HH:mm:ss z]
2005/05/02 15:20:15:250 EEST [DEBUG] DefaultHttpParams - Set parameter
http.protocol.cookie-policy = compatibility
2005/05/02 15:20:15:312 EEST [DEBUG] HttpConnection - Open connection to
10.1.9.5:8080
2005/05/02 15:20:15:328 EEST [DEBUG] header - >> "CONNECT
3000xtra.glbl1.reuters.com:443 HTTP/1.1"
2005/05/02 15:20:15:328 EEST [DEBUG] HttpMethodBase - Adding Host
request header
2005/05/02 15:20:15:328 EEST [DEBUG] header - >> "User-Agent: Jakarta
Commons-HttpClient/3.0-rc2[\r][\n]"
2005/05/02 15:20:15:328 EEST [DEBUG] header - >> "Host:
3000xtra.glbl1.reuters.com[\r][\n]"
2005/05/02 15:20:15:328 EEST [DEBUG] header - >> "Proxy-Connection:
Keep-Alive[\r][\n]"
2005/05/02 15:20:15:343 EEST [DEBUG] header - >> "[\r][\n]"
2005/05/02 15:20:15:609 EEST [DEBUG] header - << "HTTP/1.1 200
Connection established[\r][\n]"
2005/05/02 15:20:15:609 EEST [DEBUG] header - << "Via: 1.1 TEST, 1.1
PROXY3[\r][\n]"
2005/05/02 15:20:15:625 EEST [INFO] HttpMethodBase - Response content
length is not known
2005/05/02 15:20:15:625 EEST [DEBUG] HttpMethodBase - Force-close
connection: true
2005/05/02 15:20:15:625 EEST [DEBUG] ConnectMethod - CONNECT status code 200
2005/05/02 15:20:15:625 EEST [DEBUG] HttpConnection - Secure tunnel to
3000xtra.glbl1.reuters.com:443
2005/05/02 15:20:15:734 EEST [DEBUG] header - >> "GET /asp/login.asp
HTTP/1.1[\r][\n]"
2005/05/02 15:20:15:750 EEST [DEBUG] HttpMethodBase - Adding Host
request header
2005/05/02 15:20:15:750 EEST [DEBUG] header - >> "User-Agent: Jakarta
Commons-HttpClient/3.0-rc2[\r][\n]"
2005/05/02 15:20:15:750 EEST [DEBUG] header - >> "Host:
3000xtra.glbl1.reuters.com[\r][\n]"
2005/05/02 15:20:15:750 EEST [DEBUG] header - >> "[\r][\n]"
2005/05/02 15:20:17:218 EEST [DEBUG] header - << "HTTP/1.1 302 Object
moved[\r][\n]"
2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Server:
Microsoft-IIS/5.0[\r][\n]"
2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Date: Mon, 02 May 2005
12:18:13 GMT[\r][\n]"
2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Location:
redirect.asp[\r][\n]"
2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Content-Length:
121[\r][\n]"
2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Content-Type:
text/html[\r][\n]"
2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Set-Cookie:
NFuseUseSavedFolder=Off; path=/asp[\r][\n]"
2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Set-Cookie:
ASPSESSIONIDQAQRRRCD=JNMAKGNBIAGHAJBHLGGHBAPN; path=/[\r][\n]"
2005/05/02 15:20:17:218 EEST [DEBUG] header - << "Cache-control:
private[\r][\n]"
2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodBase - Cookie accepted:
"NFuseUseSavedFolder=Off"
2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodBase - Cookie accepted:
"ASPSESSIONIDQAQRRRCD=JNMAKGNBIAGHAJBHLGGHBAPN"
2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodDirector - Redirect required
2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodDirector - Redirect
requested to location 'redirect.asp'
2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodDirector - Redirect URI
is not absolute - parsing as relative
2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodDirector - Redirecting
from 'https://3000xtra.glbl1.reuters.com:443/asp/login.asp' to
'https://3000xtra.glbl1.reuters.com:443/asp/redirect.asp
2005/05/02 15:20:17:250 EEST [DEBUG] HttpMethodDirector - Execute
redirect 1 of 100
2005/05/02 15:20:17:687 EEST [DEBUG] content - << "<head><title>Object m"
2005/05/02 15:20:17:687 EEST [DEBUG] content - << "oved</title></head>[\n]"
2005/05/02 15:20:17:687 EEST [DEBUG] content - << "<body><h1>Object
Moved</h1>This object may be found <a HREF="">here</a>.</body>[\n]"
2005/05/02 15:20:17:687 EEST [DEBUG] HttpMethodBase - Resorting to
protocol version default close connection policy
2005/05/02 15:20:17:703 EEST [DEBUG] HttpMethodBase - Should NOT close
connection, using HTTP/1.1
2005/05/02 15:20:17:703 EEST [DEBUG] HttpConnection - Connection is
locked. Call to releaseConnection() ignored.
2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "GET /asp/redirect.asp
HTTP/1.1[\r][\n]"
2005/05/02 15:20:17:718 EEST [DEBUG] HttpMethodBase - Adding Host
request header
2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "User-Agent: Jakarta
Commons-HttpClient/3.0-rc2[\r][\n]"
2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "Host:
3000xtra.glbl1.reuters.com[\r][\n]"
2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "Cookie:
NFuseUseSavedFolder=Off[\r][\n]"
2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "Cookie:
ASPSESSIONIDQAQRRRCD=JNMAKGNBIAGHAJBHLGGHBAPN[\r][\n]"
2005/05/02 15:20:17:718 EEST [DEBUG] header - >> "[\r][\n]"
2005/05/02 15:20:18:062 EEST [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
2005/05/02 15:20:18:062 EEST [DEBUG] header - << "Server:
Microsoft-IIS/5.0[\r][\n]"
2005/05/02 15:20:18:062 EEST [DEBUG] header - << "Date: Mon, 02 May 2005
12:18:14 GMT[\r][\n]"
2005/05/02 15:20:18:062 EEST [DEBUG] header - << "Content-Length:
8647[\r][\n]"
2005/05/02 15:20:18:062 EEST [DEBUG] header - << "Content-Type:
text/html[\r][\n]"
OK
2005/05/02 15:20:18:062 EEST [DEBUG] header - << "Cache-control:
private[\r][\n]"
2005/05/02 15:20:18:062 EEST [DEBUG] HttpMethodBase - Buffering response
body
2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:406 EEST [DEBUG] content - << "<html>[\r][\n]"
2005/05/02 15:20:18:406 EEST [DEBUG] content - << "<HEAD>[\r][\n]"
2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[0x9]<META
HTTP-EQUIV="Set-Cookie" VALUE="NFuseData=; expires=29-Nov-1997 12:00:00
GMT; path=/;">[\r][\n]"
2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[0x9]<SCRIPT
Language="JavaScript" type="text/javascript">[\r][\n]"
2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[0x9]<!--[\r][\n]"
2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:406 EEST [DEBUG] content - << "[0x9]// Pull
userAgent from browser.[\r][\n]"
2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]var usrAgt =
navigator.userAgent.toLowerCase();[\r][\n]"
2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]// isApplet is
automatically set by the NFuse Web Site Wizard.[\r][\n]"
2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]var isApplet =
false;[\r][\n]"
2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]//
#########################[\r][\n]"
2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]// ### BROWSER
DETECTION ###[\r][\n]"
2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]//
#########################[\r][\n]"
2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]//
booleans:[\r][\n]"
2005/05/02 15:20:18:421 EEST [DEBUG] content - << "[0x9]// ie :
Internet Explorer[\r][\n]"
2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9]// nav :
Netscape Navigator[\r][\n]"
2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9]// A small
percentage of IE browsers return 'Internet Explorer' instead of 'MSIE'
in usrAgt.[\r][\n]"
2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9]var ie
=((usrAgt.indexOf("msie")!=-1)[\r][\n]"
2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9][0x9] ||
(usrAgt.indexOf("Internet Explorer")!=-1));[\r][\n]"
2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9]// A small
percentage of IE browsers do not include 'compatible' in usrAgt; also
check for 'MSIE'.[\r][\n]"
2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9]var nav
=((usrAgt.indexOf('mozilla')!=-1)[\r][\n]"
2005/05/02 15:20:18:437 EEST [DEBUG] content - << "[0x9] &&
(usrAgt.indexOf('msie')==-1)[0x9] [\r][\n]"
2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9] &&
(usrAgt.indexOf('spoofer')==-1)[\r][\n]"
2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9] &&
(usrAgt.indexOf('compatible')==-1)[\r][\n]"
2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9] &&
(usrAgt.indexOf('opera')==-1)[\r][\n]"
2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9] &&
(usrAgt.indexOf('webtv')==-1));[\r][\n]"
2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9]//
##########################[\r][\n]"
2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9]// ### PLATFORM
DETECTION ###[\r][\n]"
2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9]//
##########################[\r][\n]"
2005/05/02 15:20:18:453 EEST [DEBUG] content - << "[0x9]//
booleans:[\r][\n]"
2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// osWin32
osSun osLinux[\r][\n]"
2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// osWin16
osSgi osSco[\r][\n]"
2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// osOs2
osHpux osTru64[\r][\n]"
2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// osMac
osAix osUnix[\r][\n]"
2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// 32-BIT
WINDOWS[\r][\n]"
2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]// Native:
32-bit ICA Client || Web: ActiveX ICA Client if (ie=true), 32-bit
Plug-in ICA Client if (nav=true)[\r][\n]"
2005/05/02 15:20:18:468 EEST [DEBUG] content - << "[0x9]//
http://download.citrix.com/cgi-bin/license.cgi?client=w32[\r][\n]"
2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9] osWin32 =
(((usrAgt.indexOf("win95")!=-1) ||[\r][\n]"
2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
(usrAgt.indexOf("windows 95")!=-1) ||[\r][\n]"
2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
(usrAgt.indexOf("win98")!=-1) ||[\r][\n]"
2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
(usrAgt.indexOf("windows 98")!=-1)) || [\r][\n]"
2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
((usrAgt.indexOf("winnt")!=-1) ||[\r][\n]"
2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
(usrAgt.indexOf("windows nt")!=-1)) ||[\r][\n]"
2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
((this.major >= 4) &&[\r][\n]"
2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
(navigator.platform == "Win32")) ||[\r][\n]"
2005/05/02 15:20:18:484 EEST [DEBUG] content - << "[0x9]
(usrAgt.indexOf("win32")!=-1) ||[\r][\n]"
2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]
(usrAgt.indexOf("32bit")!=-1)); [\r][\n]"
2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]// 16-BIT
WINDOWS[\r][\n]"
2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]// Native:
Win16 ICA Client || Web: 16-bit Plug-in ICA Client if (ie || nav)[\r][\n]"
2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]//
http://download.citrix.com/cgi-bin/license.cgi?client=w16[\r][\n]"
2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9] osWin16 =
((usrAgt.indexOf("win")!=-1) ||[\r][\n]"
2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]
(usrAgt.indexOf("16bit")!=-1) ||[\r][\n]"
2005/05/02 15:20:18:500 EEST [DEBUG] content - << "[0x9]
(usrAgt.indexOf("windows 3.1")!=-1) ||[\r][\n]"
2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[0x9]
(usrAgt.indexOf("windows 16-bit")!=-1));[\r][\n]"
2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:531 EEST [DEBUG] content - << " // Netscape 4.08
browsers have problems running our Javascript to detect the[\r][\n]"
2005/05/02 15:20:18:531 EEST [DEBUG] content - << " // client. We
don't do any client detection for this browser.[\r][\n]"
2005/05/02 15:20:18:531 EEST [DEBUG] content - << " noDetectAgent
= nav && (usrAgt.indexOf("4.08") != -1);[\r][\n]"
2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[0x9]// OS/2[\r][\n]"
2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[0x9]// Native:
Win16 ICA Client || Web: Java Applet ICA Client[\r][\n]"
2005/05/02 15:20:18:531 EEST [DEBUG] content - << "[0x9]//
http://download.citrix.com/cgi-bin/license.cgi?client=w16[\r][\n]"
2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[0x9] osOs2 =
((usrAgt.indexOf("os/2")!=-1) || [\r][\n]"
2005/05/02 15:20:18:546 EEST [DEBUG] content - <<
"[0x9] (navigator.appVersion.indexOf("OS/2")!=-1) ||
[\r][\n]"
2005/05/02 15:20:18:546 EEST [DEBUG] content - <<
"[0x9] (usrAgt.indexOf("ibm-webexplorer")!=-1)); [\r][\n]"
2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[0x9]//
MACINTOSH[\r][\n]"
2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[0x9]// Native:
Macintosh ICA Client || Web: Java Applet ICA Client[\r][\n]"
2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[0x9]//
http://download.citrix.com/cgi-bin/license.cgi?client=mac[\r][\n]"
2005/05/02 15:20:18:546 EEST [DEBUG] content - << "[0x9] osMac =
(usrAgt.indexOf("mac")!=-1);[\r][\n]"
2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]// SUN SUNOS,
SOLARIS/SPARC, SOLARIS/X86[\r][\n]"
2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]// Native:
SunOS or Solaris/Sparc or Solaris/x86 ICA Client || Web: Java Applet ICA
Client[\r][\n]"
2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]// Having
trouble differentiating these; all show as 'sunos'. [\r][\n]"
2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]// The version
numbers might be a good tip-off if we want to refine this further.[\r][\n]"
2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]// In the
meantime, having all 3 clients offered might be a good idea.[\r][\n]"
2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]//
http://download.citrix.com/cgi-bin/license.cgi?client=unix_sunos[\r][\n]"
2005/05/02 15:20:18:562 EEST [DEBUG] content - << "[0x9]//
http://download.citrix.com/cgi-bin/license.cgi?client=unix_sparc[\r][\n]"
2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9]//
http://download.citrix.com/cgi-bin/license.cgi?client=unix_x86[\r][\n]"
2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9] osSun =
(usrAgt.indexOf("sunos")!=-1); [\r][\n]"
2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9]// SGI UNIX ICA
Client[\r][\n]"
2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9]// Native: SGI
ICA Client || Web: Java Applet ICA Client[\r][\n]"
2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9]//
http://download.citrix.com/cgi-bin/license.cgi?client=unix_sgi[\r][\n]"
2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9] osSgi =
(usrAgt.indexOf("irix") !=-1);[\r][\n]"
2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:578 EEST [DEBUG] content - << "[0x9]// HP/UX UNIX
ICA Client[\r][\n]"
2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9]// Native:
HP/UX ICA Client || Web: Java Applet ICA Client[\r][\n]"
2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9]//
http://download.citri"
2005/05/02 15:20:18:593 EEST [DEBUG] content - <<
"x.com/cgi-bin/license.cgi?client=unix_hpux[\r][\n]"
2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9] osHpux =
(usrAgt.indexOf("hp-ux")!=-1);[\r][\n]"
2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9]// IBM AIX
UNIX[\r][\n]"
2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9]// Native: IBM
AIX ICA Client || Web: Java Applet ICA Client[\r][\n]"
2005/05/02 15:20:18:593 EEST [DEBUG] content - << "[0x9]//
http://download.citrix.com/cgi-bin/license.cgi?client=unix_ibm[\r][\n]"
2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9] osAix =
(usrAgt.indexOf("aix") !=-1);[\r][\n]"
2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9]// Linux[\r][\n]"
2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9]// Native:
Linux ICA Client || Web: Java Applet ICA Client[\r][\n]"
2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9]//
http://download.citrix.com/cgi-bin/license.cgi?client=linux[\r][\n]"
2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9] osLinux =
(usrAgt.indexOf("linux")!=-1); [\r][\n]"
2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9]// SCO
UNIX[\r][\n]"
2005/05/02 15:20:18:609 EEST [DEBUG] content - << "[0x9]// Native: SCO
ICA Client || Web: Java Applet ICA Client[\r][\n]"
2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9]//
http://download.citrix.com/cgi-bin/license.cgi?client=unix_sco[\r][\n]"
2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9] osSco =
(usrAgt.indexOf("sco")!=-1) || (usrAgt.indexOf("unix_sv")!=-1);[\r][\n]"
2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9]// Compaq Tru64
UNIX ICA Client (DEC)[\r][\n]"
2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9]// Native:
Compaq Tru64 ICA Client || Web: Java Applet ICA Client[\r][\n]"
2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9]//
http://download.citrix.com/cgi-bin/license.cgi?client=unix_tru64[\r][\n]"
2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9] osTru64 =
((usrAgt.indexOf("dec")!=-1) || (usrAgt.indexOf("osf1")!=-1) || [\r][\n]"
2005/05/02 15:20:18:625 EEST [DEBUG] content - << "[0x9]
(usrAgt.indexOf("dec_alpha")!=-1) || (usrAgt.indexOf("alphaserver")!=-1)
|| [\r][\n]"
2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]
(usrAgt.indexOf("ultrix")!=-1) || (usrAgt.indexOf("alphastation")!=-1)
||[\r][\n]"
2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]
(usrAgt.indexOf("digitalunix")!=-1) || (usrAgt.indexOf("tru64")!=-1));
[\r][\n]"
2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]// Non-matched
variety of UNIX... should probably point to a "let the user decide" sort
of page.[\r][\n]"
2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]// Also marks
any UNIX-variety OSes caught above.[\r][\n]"
2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]// Most matches
will likely come from Sinix, BSD, FreeBSD, Reliant, etc...[\r][\n]"
2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9] osUnix =
((usrAgt.indexOf("x11")!=-1) ||[\r][\n]"
2005/05/02 15:20:18:656 EEST [DEBUG] content - << "[0x9]
osSun ||[\r][\n]"
2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
osSgi ||[\r][\n]"
2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
osHpux ||[\r][\n]"
2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
osAix ||[\r][\n]"
2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
osSco ||[\r][\n]"
2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
osTru64 ||[\r][\n]"
2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]
osLinux); [\r][\n]"
2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]// ### Setting
of icaClientCode, used with icaClientInfo.js to retrieve data on
appropriate ICA client.[0x9][0x9][0x9] [\r][\n]"
2005/05/02 15:20:18:671 EEST [DEBUG] content - << "[0x9]// ICACLIENT
CODES:[\r][\n]"
2005/05/02 15:20:18:687 EEST [DEBUG] content - << " // -1:
UnSupported client[\r][\n]"
2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 1:
Win32[\r][\n]"
2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 2:
Win16[\r][\n]"
2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 3:
Win16_Plugin[\r][\n]"
2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 4:
Mac[\r][\n]"
2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 5:
Solaris/Sparc[\r][\n]"
2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 6:
Solaris/x86[\r][\n]"
2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 7:
SunOS[\r][\n]"
2005/05/02 15:20:18:687 EEST [DEBUG] content - << "[0x9]//[0x9] 8:
SGI[\r][\n]"
2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]// [0x9] 9:
HP/UX[\r][\n]"
2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]10:
IBM/AIX[\r][\n]"
2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]11:
SCO[\r][\n]"
2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]12:
DEC/Tru64[\r][\n]"
2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]13:
Linux[\r][\n]"
2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]14: JAVA
Application[\r][\n]"
2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[0x9]//[0x9]15: Java
Applet[\r][\n]"
2005/05/02 15:20:18:703 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:703 EEST [DEBUG] content - << " icaClientCode
= -1;[\r][\n]"
2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9] [\r][\n]"
2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]if
(osWin32)[0x9]{ icaClientCode = 1; }[\r][\n]"
2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]if
(osWin16)[0x9]{ icaClientCode = 2; }[\r][\n]"
2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]if
(osOs2)[0x9][0x9]{[\r][\n]"
2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9][0x9]if
(isApplet) { icaClientCode = 15; }[\r][\n]"
2005/05/02 15:20:18:718 EEST [DEBUG] content - <<
"[0x9][0x9]else[0x9][0x9][0x9]{ icaClientCode = 2; }[\r][\n]"
2005/05/02 15:20:18:718 EEST [DEBUG] content - << "[0x9]}[\r][\n]"
2005/05/02 15:20:18:734 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
2005/05/02 15:20:18:734 EEST [DEBUG] content - << "[0x9]if
(osMac)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 4; } }[\r][\n]"
2005/05/02 15:20:18:734 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
2005/05/02 15:20:18:875 EEST [DEBUG] content - << "[0x9]if
(osSun)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 0; } }[\r][\n]"
2005/05/02 15:20:18:875 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
2005/05/02 15:20:18:875 EEST [DEBUG] content - << "[0x9]if
(osSgi)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 8; } }[\r][\n]"
2005/05/02 15:20:18:875 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
2005/05/02 15:20:18:875 EEST [DEBUG] content - << "[0x9]if
(osHpux)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 9; } }[\r][\n]"
2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]if
(osAix)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 10; } }[\r][\n]"
2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]if
(osSco)[0x9][0x9]{ if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 11; } }[\r][\n]"
2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]if
(osTru64)[0x9]{ if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 12; } }[\r][\n]"
2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
2005/05/02 15:20:18:890 EEST [DEBUG] content - << "[0x9]if
(osLinux)[0x9]{ if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 13; } }[\r][\n]"
2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]else[\r][\n]"
2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]if (isApplet) {
icaClientCode = 15; } else { icaClientCode = 14; } [\r][\n]"
2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]// ### Setting
of icaObjectCode.[0x9][0x9][0x9] [\r][\n]"
2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]// ICAOBJECT
CODES:[\r][\n]"
2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]//[0x9] 0:
Native[\r][\n]"
2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]//[0x9] 1:
ActiveX[\r][\n]"
2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]//[0x9] 2:
Plugin32[\r][\n]"
2005/05/02 15:20:18:906 EEST [DEBUG] content - << "[0x9]//[0x9] 3:
Plugin16[\r][\n]"
2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[0x9]if (ie &&
osWin32)[0x9]{ icaObjectCode = 1; }[\r][\n]"
2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[0x9]else if (nav &&
osWin32) [0x9]{ icaObjectCode = 2; }[\r][\n]"
2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[0x9]else if (osWin16
&& (ie || nav))[0x9]{ icaObjectCode = 3; }[\r][\n]"
2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[0x9]else {
icaObjectCode = 0; }[\r][\n]"
2005/05/02 15:20:18:921 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:921 EEST [DEBUG] content - << " // Add 100 to
indicate that we don't want any client detection.[\r][\n]"
2005/05/02 15:20:18:921 EEST [DEBUG] content - << " if
(noDetectAgent) {[\r][\n]"
2005/05/02 15:20:18:921 EEST [DEBUG] content - << " icaObjectCode
+= 100;[\r][\n]"
2005/05/02 15:20:18:937 EEST [DEBUG] content - << " }[\r][\n]"
2005/05/02 15:20:18:937 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:937 EEST [DEBUG] content - << " // ###
Setting of icaBrowserCode[\r][\n]"
2005/05/02 15:20:18:937 EEST [DEBUG] content - << " // ICABROWSER
CODES:[\r][\n]"
2005/05/02 15:20:18:937 EEST [DEBUG] content - << " // 0:
Unknown[\r][\n]"
2005/05/02 15:20:18:937 EEST [DEBUG] content - << " // 1:
IE[\r][\n]"
2005/05/02 15:20:18:937 EEST [DEBUG] content - << " // 2:
Netscape[\r][\n]"
2005/05/02 15:20:18:937 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:937 EEST [DEBUG] content - << " if (ie)
{ icaBrowserCode = 1; }[\r][\n]"
2005/05/02 15:20:18:953 EEST [DEBUG] content - << " else if (nav)
{ icaBrowserCode = 2; }[\r][\n]"
2005/05/02 15:20:18:953 EEST [DEBUG] content - << " else
{ icaBrowserCode = 0; }[\r][\n]"
2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[0x9]// Get screen
resolution for embedded apps as a percentage of screen size[\r][\n]"
2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[0x9]var ScreenWidth,
ScreenHeight, strResolution;[\r][\n]"
2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[0x9]ScreenWidth =
window.screen.width;[\r][\n]"
2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[0x9]ScreenHeight = wind"
2005/05/02 15:20:18:953 EEST [DEBUG] content - <<
"ow.screen.height;[\r][\n]"
2005/05/02 15:20:18:953 EEST [DEBUG] content - << "[0x9]strResolution =
ScreenWidth + 'x' + ScreenHeight;[\r][\n]"
2005/05/02 15:20:18:968 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:968 EEST [DEBUG] content - << " // ### Store
cookies on user browser for NFuse use.[\r][\n]"
2005/05/02 15:20:18:968 EEST [DEBUG] content - << "
document.cookie = "icaClientCode=" + icaClientCode;[\r][\n]"
2005/05/02 15:20:18:968 EEST [DEBUG] content - << "
document.cookie = "icaObjectCode=" + icaObjectCode;[\r][\n]"
2005/05/02 15:20:18:968 EEST [DEBUG] content - << "
document.cookie = "icaBrowserCode=" + icaBrowserCode;[\r][\n]"
2005/05/02 15:20:18:968 EEST [DEBUG] content - << "
document.cookie = "icaScreen"
2005/05/02 15:20:18:968 EEST [DEBUG] content - << "Resolution=" +
strResolution[\r][\n]"
2005/05/02 15:20:18:968 EEST [DEBUG] content - << "[\r][\n]"
2005/05/02 15:20:18:968 EEST [DEBUG] content - <<
"location='login.asp'[\r][\n]"
2005/05/02 15:20:19:000 EEST [DEBUG] content - << "[0x9]//-->[\r][\n]"
2005/05/02 15:20:19:000 EEST [DEBUG] content - << "[0x9]</SCRIPT>[\r][\n]"
2005/05/02 15:20:19:000 EEST [DEBUG] content - << "<body>[\r][\n]"
2005/05/02 15:20:19:000 EEST [DEBUG] content - << "</body>[\r][\n]"
2005/05/02 15:20:19:000 EEST [DEBUG] content - << "</html>[\r][\n]"
2005/05/02 15:20:19:000 EEST [DEBUG] HttpMethodBase - Resorting to
protocol version default close connection policy
2005/05/02 15:20:19:000 EEST [DEBUG] HttpMethodBase - Should NOT close
connection, using HTTP/1.1
2005/05/02 15:20:19:000 EEST [DEBUG] HttpConnection - Releasing
connection back to connection manager.
2005/05/02 15:20:19:000 EEST [DEBUG] HttpMethodBase - Default charset
used: ISO-8859-1
<html>
<HEAD>
<META HTTP-EQUIV="Set-Cookie" VALUE="NFuseData=; expires=29-Nov-1997
12:00:00 GMT; path=/;">
<SCRIPT Language="JavaScript" type="text/javascript">
<!--
// Pull userAgent from browser.
var usrAgt = navigator.userAgent.toLowerCase();
// isApplet is automatically set by the NFuse Web Site Wizard.
var isApplet = false;
// #########################
// ### BROWSER DETECTION ###
// #########################
// booleans:
// ie : Internet Explorer
// nav : Netscape Navigator
// A small percentage of IE browsers return 'Internet Explorer'
instead of 'MSIE' in usrAgt.
var ie =((usrAgt.indexOf("msie")!=-1)
|| (usrAgt.indexOf("Internet Explorer")!=-1));
// A small percentage of IE browsers do not include 'compatible' in
usrAgt; also check for 'MSIE'.
var nav =((usrAgt.indexOf('mozilla')!=-1)
&& (usrAgt.indexOf('msie')==-1)
&& (usrAgt.indexOf('spoofer')==-1)
&& (usrAgt.indexOf('compatible')==-1)
&& (usrAgt.indexOf('opera')==-1)
&& (usrAgt.indexOf('webtv')==-1));
// ##########################
// ### PLATFORM DETECTION ###
// ##########################
// booleans:
// osWin32 osSun osLinux
// osWin16 osSgi osSco
// osOs2 osHpux osTru64
// osMac osAix osUnix
// 32-BIT WINDOWS
// Native: 32-bit ICA Client || Web: ActiveX ICA Client if
(ie=true), 32-bit Plug-in ICA Client if (nav=true)
// http://download.citrix.com/cgi-bin/license.cgi?client=w32
osWin32 = (((usrAgt.indexOf("win95")!=-1) ||
(usrAgt.indexOf("windows 95")!=-1) ||
(usrAgt.indexOf("win98")!=-1) ||
(usrAgt.indexOf("windows 98")!=-1)) ||
((usrAgt.indexOf("winnt")!=-1) ||
(usrAgt.indexOf("windows nt")!=-1)) ||
((this.major >= 4) &&
(navigator.platform == "Win32")) ||
(usrAgt.indexOf("win32")!=-1) ||
(usrAgt.indexOf("32bit")!=-1));
// 16-BIT WINDOWS
// Native: Win16 ICA Client || Web: 16-bit Plug-in ICA Client if
(ie || nav)
// http://download.citrix.com/cgi-bin/license.cgi?client=w16
osWin16 = ((usrAgt.indexOf("win")!=-1) ||
(usrAgt.indexOf("16bit")!=-1) ||
(usrAgt.indexOf("windows 3.1")!=-1) ||
(usrAgt.indexOf("windows 16-bit")!=-1));
// Netscape 4.08 browsers have problems running our Javascript to
detect the
// client. We don't do any client detection for this browser.
noDetectAgent = nav && (usrAgt.indexOf("4.08") != -1);
// OS/2
// Native: Win16 ICA Client || Web: Java Applet ICA Client
// http://download.citrix.com/cgi-bin/license.cgi?client=w16
osOs2 = ((usrAgt.indexOf("os/2")!=-1) ||
(navigator.appVersion.indexOf("OS/2")!=-1) ||
(usrAgt.indexOf("ibm-webexplorer")!=-1));
// MACINTOSH
// Native: Macintosh ICA Client || Web: Java Applet ICA Client
// http://download.citrix.com/cgi-bin/license.cgi?client=mac
osMac = (usrAgt.indexOf("mac")!=-1);
// SUN SUNOS, SOLARIS/SPARC, SOLARIS/X86
// Native: SunOS or Solaris/Sparc or Solaris/x86 ICA Client || Web:
Java Applet ICA Client
// Having trouble differentiating these; all show as 'sunos'.
// The version numbers might be a good tip-off if we want to refine
this further.
// In the meantime, having all 3 clients offered might be a good idea.
// http://download.citrix.com/cgi-bin/license.cgi?client=unix_sunos
// http://download.citrix.com/cgi-bin/license.cgi?client=unix_sparc
// http://download.citrix.com/cgi-bin/license.cgi?client=unix_x86
osSun = (usrAgt.indexOf("sunos")!=-1);
// SGI UNIX ICA Client
// Native: SGI ICA Client || Web: Java Applet ICA Client
// http://download.citrix.com/cgi-bin/license.cgi?client=unix_sgi
osSgi = (usrAgt.indexOf("irix") !=-1);
// HP/UX UNIX ICA Client
// Native: HP/UX ICA Client || Web: Java Applet ICA Client
// http://download.citrix.com/cgi-bin/license.cgi?client=unix_hpux
osHpux = (usrAgt.indexOf("hp-ux")!=-1);
// IBM AIX UNIX
// Native: IBM AIX ICA Client || Web: Java Applet ICA Client
// http://download.citrix.com/cgi-bin/license.cgi?client=unix_ibm
osAix = (usrAgt.indexOf("aix") !=-1);
// Linux
// Native: Linux ICA Client || Web: Java Applet ICA Client
// http://download.citrix.com/cgi-bin/license.cgi?client=linux
osLinux = (usrAgt.indexOf("linux")!=-1);
// SCO UNIX
// Native: SCO ICA Client || Web: Java Applet ICA Client
// http://download.citrix.com/cgi-bin/license.cgi?client=unix_sco
osSco = (usrAgt.indexOf("sco")!=-1) ||
(usrAgt.indexOf("unix_sv")!=-1);
// Compaq Tru64 UNIX ICA Client (DEC)
// Native: Compaq Tru64 ICA Client || Web: Java Applet ICA Client
// http://download.citrix.com/cgi-bin/license.cgi?client=unix_tru64
osTru64 = ((usrAgt.indexOf("dec")!=-1) ||
(usrAgt.indexOf("osf1")!=-1) ||
(usrAgt.indexOf("dec_alpha")!=-1) ||
(usrAgt.indexOf("alphaserver")!=-1) ||
(usrAgt.indexOf("ultrix")!=-1) ||
(usrAgt.indexOf("alphastation")!=-1) ||
(usrAgt.indexOf("digitalunix")!=-1) ||
(usrAgt.indexOf("tru64")!=-1));
// Non-matched variety of UNIX... should probably point to a "let
the user decide" sort of page.
// Also marks any UNIX-variety OSes caught above.
// Most matches will likely come from Sinix, BSD, FreeBSD, Reliant,
etc...
osUnix = ((usrAgt.indexOf("x11")!=-1) ||
osSun ||
osSgi ||
osHpux ||
osAix ||
osSco ||
osTru64 ||
osLinux);
// ### Setting of icaClientCode, used with icaClientInfo.js to
retrieve data on appropriate ICA client.
// ICACLIENT CODES:
// -1: UnSupported client
// 1: Win32
// 2: Win16
// 3: Win16_Plugin
// 4: Mac
// 5: Solaris/Sparc
// 6: Solaris/x86
// 7: SunOS
// 8: SGI
// 9: HP/UX
// 10: IBM/AIX
// 11: SCO
// 12: DEC/Tru64
// 13: Linux
// 14: JAVA Application
// 15: Java Applet
icaClientCode = -1;
if (osWin32) { icaClientCode = 1; }
else
if (osWin16) { icaClientCode = 2; }
else
if (osOs2) {
if (isApplet) { icaClientCode = 15; }
else { icaClientCode = 2; }
}
else
if (osMac) { if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 4; } }
else
if (osSun) { if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 0; } }
else
if (osSgi) { if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 8; } }
else
if (osHpux) { if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 9; } }
else
if (osAix) { if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 10; } }
else
if (osSco) { if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 11; } }
else
if (osTru64) { if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 12; } }
else
if (osLinux) { if (isApplet) { icaClientCode = 15; } else {
icaClientCode = 13; } }
else
if (isApplet) { icaClientCode = 15; } else { icaClientCode = 14; }
// ### Setting of icaObjectCode.
// ICAOBJECT CODES:
// 0: Native
// 1: ActiveX
// 2: Plugin32
// 3: Plugin16
if (ie && osWin32) { icaObjectCode = 1; }
else if (nav && osWin32) { icaObjectCode = 2; }
else if (osWin16 && (ie || nav)) { icaObjectCode = 3; }
else { icaObjectCode = 0; }
// Add 100 to indicate that we don't want any client detection.
if (noDetectAgent) {
icaObjectCode += 100;
}
// ### Setting of icaBrowserCode
// ICABROWSER CODES:
// 0: Unknown
// 1: IE
// 2: Netscape
if (ie) { icaBrowserCode = 1; }
else if (nav) { icaBrowserCode = 2; }
else { icaBrowserCode = 0; }
// Get screen resolution for embedded apps as a percentage of screen
size
var ScreenWidth, ScreenHeight, strResolution;
ScreenWidth = window.screen.width;
ScreenHeight = window.screen.height;
strResolution = ScreenWidth + 'x' + ScreenHeight;
// ### Store cookies on user browser for NFuse use.
document.cookie = "icaClientCode=" + icaClientCode;
document.cookie = "icaObjectCode=" + icaObjectCode;
document.cookie = "icaBrowserCode=" + icaBrowserCode;
document.cookie = "icaScreenResolution=" + strResolution
location='login.asp'
//-->
</SCRIPT>
<body>
</body>
</html>
2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "POST /asp/login.asp
HTTP/1.1[\r][\n]"
2005/05/02 15:20:19:031 EEST [DEBUG] HttpMethodBase - Adding Host
request header
2005/05/02 15:20:19:031 EEST [DEBUG] HttpMethodBase - Default charset
used: ISO-8859-1
2005/05/02 15:20:19:031 EEST [DEBUG] HttpMethodBase - Default charset
used: ISO-8859-1
2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "User-Agent: Jakarta
Commons-HttpClient/3.0-rc2[\r][\n]"
2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "Host:
3000xtra.glbl1.reuters.com[\r][\n]"
2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "Cookie:
icaObjectCode=2[\r][\n]"
2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "Cookie:
icaClientCode=1[\r][\n]"
2005/05/02 15:20:19:031 EEST [DEBUG] header - >> "Cookie:
icaScreenResolution=12800x960[\r][\n]"
2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "Cookie:
icaBrowserCode=2[\r][\n]"
2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "Cookie:
NFuseUseSavedFolder=Off[\r][\n]"
2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "Cookie:
ASPSESSIONIDQAQRRRCD=JNMAKGNBIAGHAJBHLGGHBAPN[\r][\n]"
2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "Content-Length:
70[\r][\n]"
2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "Content-Type:
application/x-www-form-urlencoded[\r][\n]"
2005/05/02 15:20:19:046 EEST [DEBUG] header - >> "[\r][\n]"
2005/05/02 15:20:19:046 EEST [DEBUG] HttpMethodBase - Default charset
used: ISO-8859-1
2005/05/02 15:20:19:046 EEST [DEBUG] content - >>
"LoginType=Explicit&user=mpektas%40ibb.gov.tr&password=iBB1gnls&domain="
2005/05/02 15:20:19:046 EEST [DEBUG] EntityEnclosingMethod - Request
body sent
2005/05/02 15:20:19:296 EEST [DEBUG] header - << "HTTP/1.1 100
Continue[\r][\n]"
2005/05/02 15:20:19:296 EEST [DEBUG] header - << "Server:
Microsoft-IIS/5.0[\r][\n]"
2005/05/02 15:20:19:296 EEST [DEBUG] header - << "Date: Mon, 02 May 2005
12:18:15 GMT[\r][\n]"
2005/05/02 15:20:19:296 EEST [INFO] HttpMethodBase - Discarding
unexpected response: HTTP/1.1 100 Continue
2005/05/02 15:20:19:671 EEST [DEBUG] header - << "HTTP/1.1 500 Internal
Server Error[\r][\n]"
2005/05/02 15:20:19:671 EEST [DEBUG] header - << "Server:
Microsoft-IIS/5.0[\r][\n]"
2005/05/02 15:20:19:671 EEST [DEBUG] header - << "Date: Mon, 02 May 2005
12:18:15 GMT[\r][\n]"
2005/05/02 15:20:19:671 EEST [DEBUG] header - << "Content-Length:
286[\r][\n]"
2005/05/02 15:20:19:671 EEST [DEBUG] header - << "Content-Type:
text/html[\r][\n]"
2005/05/02 15:20:19:687 EEST [DEBUG] header - << "Set-Cookie:
NFuseUseSavedFolder=Off; path=/asp[\r][\n]"
2005/05/02 15:20:19:687 EEST [DEBUG] header - << "Cache-control:
private[\r][\n]"
2005/05/02 15:20:19:687 EEST [DEBUG] HttpMethodBase - Cookie accepted:
"NFuseUseSavedFolder=Off"
2005/05/02 15:20:19:687 EEST [DEBUG] content - << " <font face="Arial"
size=2>[\n]"
2005/05/02 15:20:19:687 EEST [DEBUG] content - << "<p>Microsoft VBScript
runtime </font> <font face="Arial" size=2>error '800a000d'</font>[\n]"
2005/05/02 15:20:19:687 EEST [DEBUG] content - << "<p>[\n]"
2005/05/02 15:20:19:687 EEST [DEBUG] content - << "<font face="Arial"
size=2>Type mismatch: 'icaObjectCode'</font>[\n]"
2005/05/02 15:20:19:687 EEST [DEBUG] content - << "<p"
2005/05/02 15:20:19:687 EEST [DEBUG] content - << ">[\n]"
2005/05/02 15:20:19:703 EEST [DEBUG] content - << "<font face="Arial"
size=2>/asp/include/login.vbs</font><font face="Arial" size=2>, line
34</font> "
2005/05/02 15:20:19:703 EEST [DEBUG] HttpMethodBase - Resorting to
protocol version default close connection policy
2005/05/02 15:20:19:703 EEST [DEBUG] HttpMethodBase - Should NOT close
connection, using HTTP/1.1
2005/05/02 15:20:19:703 EEST [DEBUG] HttpConnection - Releasing
connection back to connection manager.
Internal Server Error
2005/05/02 15:20:19:718 EEST [DEBUG] header - >> "GET
/asp/launch.asp?NFuse_Application=3000x0020Xtrax0020452&NFuse_AppFriendlyNameURLEncoded=3000x0020Xtrax0020452
HTTP/1.1[\r][\n]"
2005/05/02 15:20:19:718 EEST [DEBUG] HttpMethodBase - Adding Host
request header
2005/05/02 15:20:19:718 EEST [DEBUG] header - >> "User-Agent: Jakarta
Commons-HttpClient/3.0-rc2[\r][\n]"
2005/05/02 15:20:19:718 EEST [DEBUG] header - >> "Host:
3000xtra.glbl1.reuters.com[\r][\n]"
2005/05/02 15:20:19:718 EEST [DEBUG] header - >> "Cookie:
icaObjectCode=2[\r][\n]"
2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "Cookie:
icaClientCode=1[\r][\n]"
2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "Cookie:
icaScreenResolution=12800x960[\r][\n]"
2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "Cookie:
icaBrowserCode=2[\r][\n]"
2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "Cookie:
NFuseUseSavedFolder=On[\r][\n]"
2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "Cookie:
ASPSESSIONIDQAQRRRCD=JNMAKGNBIAGHAJBHLGGHBAPN[\r][\n]"
2005/05/02 15:20:19:734 EEST [DEBUG] header - >> "[\r][\n]"
2005/05/02 15:20:20:000 EEST [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
2005/05/02 15:20:20:000 EEST [DEBUG] header - << "Server:
Microsoft-IIS/5.0[\r][\n]"
2005/05/02 15:20:20:000 EEST [DEBUG] header - << "Date: Mon, 02 May 2005
12:18:16 GMT[\r][\n]"
2005/05/02 15:20:20:000 EEST [DEBUG] header - << "Content-Length:
115[\r][\n]"
2005/05/02 15:20:20:000 EEST [DEBUG] header - << "Content-Type:
text/html[\r][\n]"
2005/05/02 15:20:20:000 EEST [DEBUG] header - << "Cache-control:
private[\r][\n]"
2005/05/02 15:20:20:000 EEST [DEBUG] HttpMethodBase - Buffering response
body
2005/05/02 15:20:20:515 EEST [DEBUG] content - << "<script languag"
2005/05/02 15:20:20:515 EEST [DEBUG] content - << "e='JavaScript'>[\r][\n]"
2005/05/02 15:20:20:515 EEST [DEBUG] content - << "<!--[\r][\n]"
2005/05/02 15:20:20:515 EEST [DEBUG] content - << "parent.location.href
= 'redirect.asp?NFuse_loginErrorId=On'//-->[\r][\n]"
2005/05/02 15:20:20:515 EEST [DEBUG] content - << "</script>[\r][\n]"
2005/05/02 15:20:20:515 EEST [DEBUG] HttpMethodBase - Resorting to
protocol version default close connection policy
2005/05/02 15:20:20:515 EEST [DEBUG] HttpMethodBase - Should NOT close
connection, using HTTP/1.1
2005/05/02 15:20:20:515 EEST [DEBUG] HttpConnection - Releasing
connection back to connection manager.
2005/05/02 15:20:20:515 EEST [DEBUG] HttpMethodBase - Default charset
used: ISO-8859-1
<script language='JavaScript'>
<!--
parent.location.href = 'redirect.asp?NFuse_loginErrorId=On'//-->
</script>
OK
Oleg Kalnichevski wrote:
>Ganime,
>
>Could you produce a complete wire log of the HTTP session (see this
>document for details
><http://jakarta.apache.org/commons/httpclient/3.0/logging.html>?
>
>I suspect the cookies are not included in the request due to a mismatch
>between the domain attribute of the cookie and the host name of the
>target server
>
>Cheers,
>
>Oleg
>
>
>On Fri, 2005-04-29 at 10:56 +0300, Ganime Betül AKIN wrote:
>
>
>>Hello,
>>I am trying to browse thru a site. The first page contains javascript
>>that checks my user-agent info and sets some cookies by using the following
>>
>>document.cookie = "icaClientCode=" + icaClientCode;
>>document.cookie = "icaObjectCode=" + icaObjectCode;
>>document.cookie = "icaBrowserCode=" + icaBrowserCode;
>>document.cookie = "icaScreenResolution=" + strResolution
>>
>>so, what I am doing it, I am manually setting the cookies
>>
>>client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
>>"icaObjectCode", "1","/asp/", null,false));
>>client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
>>"icaClientCode", "1", "/asp/", null,false));
>>client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
>>"icaScreenResolution", "12800x960", "/asp/", null,false));
>>client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
>>"icaBrowserCode", "2","/asp/", null,false));
>>
>>
>>But when I post to the next page, I get the error
>>
>>Internal Server Error
>> <font face="Arial" size=2>
>><p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error
>>'800a000d'</font>
>><p>
>><font face="Arial" size=2>Type mismatch: 'icaObjectCode'</font>
>><p>
>><font face="Arial" size=2>/asp/include/login.vbs</font><font
>>face="Arial" size=2>, line 34</font>
>>
>>well I managed to download this login.vbs and the problem seems to be in
>>the lines
>>
>> Dim icaObjectCode
>> icaObjectCode = Request.Cookies("icaObjectCode")
>> If Len(icaObjectCode) > 0 Then
>> isIE = CBool(icaObjectCode = 1)
>> Else
>> isIE = false
>> End If
>>End Sub
>>
>>it must be a mismatch with the value I assign to icaObjectCode. Bu how
>>do I get around this problem?
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>>
>>
>>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
Re: problem with cookie set by javascript
Posted by Oleg Kalnichevski <ol...@apache.org>.
Ganime,
Could you produce a complete wire log of the HTTP session (see this
document for details
<http://jakarta.apache.org/commons/httpclient/3.0/logging.html>?
I suspect the cookies are not included in the request due to a mismatch
between the domain attribute of the cookie and the host name of the
target server
Cheers,
Oleg
On Fri, 2005-04-29 at 10:56 +0300, Ganime Betül AKIN wrote:
> Hello,
> I am trying to browse thru a site. The first page contains javascript
> that checks my user-agent info and sets some cookies by using the following
>
> document.cookie = "icaClientCode=" + icaClientCode;
> document.cookie = "icaObjectCode=" + icaObjectCode;
> document.cookie = "icaBrowserCode=" + icaBrowserCode;
> document.cookie = "icaScreenResolution=" + strResolution
>
> so, what I am doing it, I am manually setting the cookies
>
> client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
> "icaObjectCode", "1","/asp/", null,false));
> client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
> "icaClientCode", "1", "/asp/", null,false));
> client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
> "icaScreenResolution", "12800x960", "/asp/", null,false));
> client.getState().addCookie(new Cookie("3000xtra.glbl1.reuters.com",
> "icaBrowserCode", "2","/asp/", null,false));
>
>
> But when I post to the next page, I get the error
>
> Internal Server Error
> <font face="Arial" size=2>
> <p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error
> '800a000d'</font>
> <p>
> <font face="Arial" size=2>Type mismatch: 'icaObjectCode'</font>
> <p>
> <font face="Arial" size=2>/asp/include/login.vbs</font><font
> face="Arial" size=2>, line 34</font>
>
> well I managed to download this login.vbs and the problem seems to be in
> the lines
>
> Dim icaObjectCode
> icaObjectCode = Request.Cookies("icaObjectCode")
> If Len(icaObjectCode) > 0 Then
> isIE = CBool(icaObjectCode = 1)
> Else
> isIE = false
> End If
> End Sub
>
> it must be a mismatch with the value I assign to icaObjectCode. Bu how
> do I get around this problem?
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org