Re: access HTTP request parameters?



14 Jul 2008 22:42:17 GMT, /Stefan Palme/:

<applet code="my.package.Main" archive="applet.jar">
... (some applet params)
</applet>

The "Cookie" header used for authentication is of course also set in the HTTP request used to load applet.jar to the client.

Is there a way to access the Cookie-Header (or any other HTTP request header) of the HTTP request that was used to load the applet's jar file?

Just curious, what do you need the cookies for? Do you need to pass them over a "custom" connection you open to the server? I haven't really tried but does opening a connection from the applet code goes through the host/browser libraries, therefore cookies being automatically set?

--
Stanimir
.



Relevant Pages

  • Re: Can I see HTTP request sent my IE.
    ... >I am writing a webcrawler, so to speak, and for some reason, this one ... What I don't know is if there are other fields header ... or other stuff like cookies. ... > allow me to see the entire HTTP request, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Can I see HTTP request sent my IE.
    ... > I am writing a webcrawler, so to speak, and for some reason, this one ... > other fields header fields that might be important, ... > connection and allow me to see the entire HTTP request, ... > headers and cookies so that I can see what happens when I navigate ...
    (microsoft.public.dotnet.framework.aspnet)
  • access HTTP request parameters?
    ... I have a rather complex 3rd party web application using Cookies ... the users browser to load an applet. ... set in the HTTP request used to load applet.jar to the client. ...
    (comp.lang.java.programmer)
  • Re: Cookies not sending in HttpWebRequest
    ... > line doesn't affect the resulting HTTP request in any way. ... >> example with aol. ... No cookies are being sent. ... > now and don't have any problems sending or receiving cookies. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Accessing cookies returned in error responses with httpwebrequest (.net CF)
    ... Server: 401, with Set-Cookie header & WWW-Authenticate header. ... Do not set credential on the request. ... and since it doesnt support cookies, ...
    (microsoft.public.dotnet.framework)