On my web server I have an HTML file that contains an applet tag:
<html>
<head/>
<body>
<applet code="Hello.class" width="100" height="100" />
</body>
</html>
And I have a Java class file named Hello.class in the same directory as the HTML file.
Both of these files are running on a web server (IIS 6) whose host name is something like this:
bart.simpson.springfield.com
I have two cookies in my browser:
- CookieA - Scoped to springfield.com
- CookieB - Scoped to simpson.springfield.com
When the HTML file is requested from the server, Fiddler shows that both of the above cookies are sent along with the request.
When the Java class file is requested from the server, Fiddler shows that only CookieA (scoped to springfield.com) is sent.
I need both cookies to be sent to the server. Is there a way to do this?
I'm seeing this behavior is Firefox 3.5.2 and IE 7.
I've tried to find the spec on which cookies are sent but turned up nothing since Java 1.3.
Thanks!