JAVS只能让你的访问者知道他呆了多久(至少我是这样看的)如果谁有高见,给我E-mail.

解决方案 »

  1.   

    Using session object in java servlet or jsp.In session ojbect, there is an attribute as the creating time, which is normally the time user login into your web site. This time is the server time, the time of your web server, not the client machine time. So you know what is the current time and user login time, it is easy to know how long user stay in your web site.Requirement:
    Your web site must to be implemented in Java Server Technology, like servlet and JSP.
    You can only know the user stay time which is login. No way to know a user like guest who doesn't need to login.