session handling in applet-servlet
843833Sep 19 2001 — edited Sep 24 2001We have an application which has applets as the front end and
the servlets as the middle-tier. We have tried to implement the
session-handling in the applets close to as described below.
1. We get the session id as an applet param from the jsp.
2. do a setRequestProperty("cookie", sessionId ) on the url connection.
3. Write the required objects as url encoded request by getting an output stream from the url connection.
( link for implementation of session handling :- http://jguru.com/faq/view.jsp?EID=33978 )
We are using weblogic server 6.0. Everything works fine with Ie and Netscape(NS)6.0 . But when it comes to NS 4.75, the session is becoming null when the communication enters the servlet. Once again, it works perfect with IE5.0 and NS6.0. Any ideas are greatly appreciated.