Solved

How to trace the visitor

Posted on 1998-07-16
8
269 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Turn Insights Into Action

You’ve already invested in ITSM tools, chat applications, automation utilities, and more. Fortify these solutions with intelligent communications so you can drive business processes forward.

With xMatters, you'll never miss a beat.

 
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

Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This video teaches users how to migrate an existing Wordpress website to a new domain.

690 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