Solved

How to trace the visitor

Posted on 1998-07-16
8
268 Views
Last Modified: 2013-12-25
Is it possible to write a programm to record the visitor's address (the last 10 or 20) who visited your web-page? And the record should be recorded in another html file. If yes, how?
0
Comment
Question by:chenwei
8 Comments
 
LVL 28

Expert Comment

by:sybe
ID: 1858578
It is possible:

1. using CGI (Perl, ASP or whatever). The way it is done is usually by showing a "invisible" 1x1 transparent gif image, which is the result of a cgi-script. As the image is called by the browser, the script detects the visitors address and writes it to a file/database. A similar effect can be reached using SSI (server side include) but that is not supported by all webservers.

2. using the logfile of your server. The server logs the visitors addresses, there are programs that real time analyse the server log file (eg Webtrends), but you can also make one yourself.

The best solution in your situation depends on OS, server program, availability and knowlegde of scripting language, so if you want a more precise answer, you should give some details about that.
0
 

Author Comment

by:chenwei
ID: 1858579
Thanks for the answer first.

I am using Win 95/NT. I have no entrance to our server. I know C. I am learning JavaScript. This is my situation at the moment.

If I could get the source code, it would be the best.
0
 
LVL 1

Expert Comment

by:slinky
ID: 1858580
If you can't get to the server, you can't write to a file.
Javascript has no file I/O capabilities.
You can only do it in C if you can get a CGI program onto the server.
0
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 
LVL 2

Accepted Solution

by:
SirCaleb earned 50 total points
ID: 1858581
There is a free service out there called "Extreme Tracking" which will do all of this for you...this should do the trick for you..

http://www.extreme-dm.com/tracking/

This is really your only other option since you do not have access to the server...this service is very nice...I use it on all my Websites.  :-)
0
 

Author Comment

by:chenwei
ID: 1858582
To SirCaleb:

Thanks a lot for your recommendation. It's wonderful!

To Slinky::
I've spocken with our system administrator. He is agree that I can put a CGI file by the server. So you could give me more information, or?
Thank you!
0
 
LVL 2

Expert Comment

by:SirCaleb
ID: 1858583
Great, I'm glad you liked it...is my answer rejected or accepted?  :-)
0
 

Author Comment

by:chenwei
ID: 1858584
To SirCaleb:

Sorry, I forgot to give a commend to your answer. Your recommendation is excellent!
0
 
LVL 2

Expert Comment

by:SirCaleb
ID: 1858585
That is awesome....that service is the best thing since sliced bread..  :-)

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question