When you think ASP, think...
Recent Articles
All Articles
ASP.NET Articles
ASPFAQs.com
Message Board
Related Web Technologies
User Tips!
Coding Tips

Sections:
Sample Chapters
Commonly Asked Message Board Questions
JavaScript Tutorials
MSDN Communities Hub
Official Docs
Security
Stump the SQL Guru!
XML Info
Information:
Feedback
Author an Article
Technology Jobs





ASP ASP.NET ASP FAQs Message Board Feedback ASP Jobs
Print this page.
Published: Tuesday, September 29, 1998

JavaScript Statistics Scripts


Introduction:
Here are some neat JavaScripts provided by the folks at Javascripts.com. These scripts can be used to determine and display statistics about your visitors.


Output:

- continued -

Code:
<SCRIPT LANGUAGE="JavaScript">

      var where = document.referrer;
      var name = navigator.appName;
      var vers = navigator.appVersion;
      document.write("<FONT FACE=Arial>You came from "+where+" <BR>Via "+name+" "+vers+" ");

</SCRIPT>


Conclusion:
You can use JavaScript to display your visitor's information. You can use this information to redirect visitors to other pages, a page that is explicitly coded for Internet Explorere or Netscape. Happy Programming!

Software Developer / Programmer - Distributed Systems (NYC)
Next Step Systems
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume


ASP.NET [1.x] [2.0] | ASPMessageboard.com | ASPFAQs.com | Advertise | Feedback | Author an Article