Re: write / read cookies from applet
Is there a way to write and read cookies entirely from within the
applet through standard jre api (without involving any server side
component) ?
(I need to drop a cookie from my applet, so I can retrieve user conf
next time he uses the applet)
Example at
http://www.rgagnon.com/javadetails/java-0180.html
Bye.
--
Real Gagnon from Quebec, Canada
* Java, Javascript, VBScript and PowerBuilder code snippets
*
http://www.rgagnon.com/howto.html
*
http://www.rgagnon.com/bigindex.html
.
Relevant Pages
- Re: Delivering on talk
... > - Java's sandbox prohibits the applet making a socket connection to any address other then the originating server ... > - JavaScript prohibits you setting a cookie to any other domain other then the domain the script was loaded from. ... > server collecting the data. ... you can send URL's to a separate site. ... (sci.crypt) - Re: Can one write/set a cookie from inside a bowser java applet?
... >>variables and set a cookie. ... > My friend wants to do this from inside the java applet, ... > without javascript, but in Java itself. ... It's a sort of using JavaScript from within Java. ... (comp.lang.java.help) - Re: write / read cookies from applet
... applet through standard jre api,without involving any server side ... I need to drop a cookie from my applet, so I can retrieve user conf ... (comp.lang.java.programmer) - Re: SSL Authentication using Java or JSP
... your applet that makes an SSL call to the server, retrieves a new cookie ... value, and sets it in the browser, and then allows the link click to ... The Applet autenticates itself and asks for a password. ... (comp.lang.java.programmer) - Re: access HTTP request parameters?
... The applet lives in the same codebase as the web application, ... The "Cookie" header used for authentication is of course also set in the HTTP request used to load applet.jar to the client. ... (comp.lang.java.programmer) |
|