This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes tracking users Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "tracking users" Watch "tracking users" New topic
Author

tracking users

cherry sawant
Greenhorn

Joined: Mar 26, 2002
Posts: 6
Hi
I have a page(banner) on a third party site and I want to track how many users are using that page and successfully booking through that page. The page is hosted on my server not on third party site. The request to that page is via a servlet.
There are few options I have thought about but there are some advantages and disadavantages. I want to know which is better solution.
1. creating a table and updating it whenever user hits the servlet from the page.
2. ServletContext.
Thanks in advance.
David G Risner
Ranch Hand

Joined: May 02, 2002
Posts: 30
Wouldn't it be easiest just to use your web server's log files? You can configure Apache to record referer URLs. I would think with that you would have all you need.
A simple Perl script (or Java program) could extract the information you needed from the log.


David G. Risner<br />Software Engineer<br />California State University, Los Angeles
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tracking users
 
Similar Threads
Http header 'referer' NULL in Servlet for pop-up window
How to store the page context and where would it be better.
servlet response
where to find apis
Question about posting..... urgent....