This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello, A site developed by me, delivers online courses. The problem is, I want to track the user, i.e I want to know the amount of time a user has spent on the lesson.Here I need to consider the following situations -When the net is disconneted -When the user closes the browser with out logging out. (I have planned to implement using the session events and using the setMaxInactiveInterval method, which solves the problem.But in case if the user closes the browser, I wont be able to calculate the time accurately. And the other problem if i use setMaxInactiveInterval is , in case of online tutorial we cant say how much time a user takes to read a page. But if i do the above i cant get the exact time. Is it correct to do this way?) Please suggest a method for the above task Thanx in advance With regards Kiran