Closed
Bug 61944
Opened 25 years ago
Closed 25 years ago
Setting a Cookie thru' an applet does not work in case of Secure sites (https:)
Categories
(Core Graveyard :: Java: OJI, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: rpallath, Assigned: edburns)
References
()
Details
(Whiteboard: [oji_working])
Attachments
(1 file)
1.63 KB,
text/plain
|
Details |
This caseis wheren in an applet tries to set a cookie by invoking a*.cgi
from a secure site (https://) using URL connection.
It throws an exception on the Console
Throws IO Exception.caught java.net.UnknownServiceException:
input from HTTPs not expected until OutputStream is closed.
This case works if the URL is opened from a non-secure site. (http://).
The HTML source is
<HTML>
<HEAD>
<TITLE>Set Cookie Applet</TITLE>
</HEAD>
<CENTER><H1>Set Cookie Applet</H1>
<APPLET CODEBASE="../classes" CODE="CookieApplet.class" WIDTH=400 HEIGHT=250>
<PARAM NAME=protocol VALUE="https">
<PARAM NAME=hostname VALUE="">
<PARAM NAME=port VALUE="7070">
<PARAM NAME=cgiStr VALUE="/cgi-bin/set_cookie.cgi">
</APPLET>
</CENTER>
</BODY>
</HTML>
*** Bug 51775 has been marked as a duplicate of this bug. ***
*** Bug 51899 has been marked as a duplicate of this bug. ***
Comment 7•25 years ago
|
||
Actually after unchecked the TLS option in the security manager and at same
time, comment out the inConn.setDoOutput(true) (Because if this is set, Input
will be set to false and that is not we wanted), you can see the correct
display.
Marked this bug as fixed.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•