my dog learned polymorphism
The moose likes Applets and the fly likes cookie information Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "cookie information" Watch "cookie information" New topic
Author

cookie information

Chris Montgomery
Ranch Hand

Joined: Jan 14, 2004
Posts: 141
Would it be more efficient to have JavaScript retrieve a value stored in a cookie and pass it as a parameter to my applet, or am I better off retrieving the value from the cookie from within my applet?
[ November 04, 2005: Message edited by: Chris Montgomery ]
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
You have an applet that talks to JS on a web page. Both can access the cookie information, and you need to make a decision which of the two should do that. But you provide no information on what it is you're doing, or why you have to make that decision, so we have nothing to base advice on.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cookie information
 
It's not a secret anymore!