I am trying to implement a unique web access counter similar to visitor counters
that we see at most web pages. I am doing it in an applet. The idea is when the applet
is loaded, i will have some sort of id for this particular visitor(can easily be done
using cookie via servlet). When browser leave the page, applet is unloaded and destroyed.
At this stage, applet will send back its own identification, which is its id, to the server.
Based on id, i can identify whether this is a new visit or a repeated visit. In order to do
this, i need to use a cookie. However, i avoid netscape api to minimize browser compatibility
It seems to me that cookie is the only way to acheive this. Unfornately, applet does not
work very well with cookie. I don't have a good solution yet. It appears to me this is a very
common problem in Java community. Most people use netscape api as solution.