All, I am trying to use httpclient in an applet that runs in jdk 1.4.2 jre. Our web application (j2ee 1.3) security enabled and uses form login (j_security_check) and deployed on websphere 5.x app server . After successful login user gets applet page. When ever we make sun's URLConnection to my server, websphere recognizes me as previously authenticated user since sun's URLConnection using Java Plug-in, Java Plug-in consults the browser to determine if a cookie should be sent along with it which it received after login. If so, the HTTP/HTTPS request will contain the cookie as part of the header. Typically websphere sends a session cookie and security cookie (encrypted LTPAToken).
Where httpclient request to server after login, websphere treating as unauthenticated user and forcing user to provide login information again. http client uses sockets directly rather than suns URLConnection. I have tried following After successful login. we contacted the server through sun's URLConnection to steel the all headers & cookies. Copied all header/cookies form a sun's URLConnection to my server to httpclient connection. Still my server recognizes me as new user/unauthenticated user. Help me if anybody knows what else suns urlconnection is doing we are not doing through httpclient... Reddy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]