logo
g Text Version
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Sports
Travel & Culture
TV & Movies

dailyclick
Bored? Games!
Nutrition
Postcards
Take a Quiz
Rate My Photo

new
European Travel
Action Movies
Bible Basics
Houseplants
Romance Movies
Creativity
Family Travel


dailyclick
All times in EST

Clairvoyance: 08:00 PM

Full Schedule
g
g ASP Site

BellaOnline's ASP Editor

g

ASP, IIS and IP Addresses


Your IIS server logs always track the IP addresses of your visitors. But if you would like to show them to your users on the fly, here's how you do it.

The command in ASP is

Request.ServerVariables("REMOTE_ADDR")

so to assign this to a variable to then display or log in your database, you would use -

IPAdd = Request.ServerVariables("REMOTE_ADDR")

You can use this to make it more obvious to a user that is violating security that you know who he or she is. Again, your IIS logs always keep a permanent records of your visitors, so you know from them exactly who did what, and when. But to give the hacker proof that you are tracking this information, it helps to display it on the screen in your trapping code.

You can also use the IP address for security clearance, or to track exactly where newsletter subscriptions came from. That helps in the case of a malicious user signing up people for newsletters without their permission.

It's a sad fact of life that people with few morals exist in the world, people who enjoy destroying what others spend years to create. By making it obvious to hackers that you are tracking their information, you might encourage them to move on to another way of spending their time.

Hacking is a federal offense, and carries penalties of fines from $500 up through prison terms. If you are hacked, contact the appropriate authorities. The hacker you set free might be the hacker that destroys someone else's site tomorrow.

Introduction to ASP Ebook

Download this ebook to get everything you need to know about learning ASP - from a step by step tutorial to function lists, sample code, common errors and solutions, and much more! 101 pages.
Add ASP%2C+IIS+and+IP+Addresses to Twitter Add ASP%2C+IIS+and+IP+Addresses to Facebook Add ASP%2C+IIS+and+IP+Addresses to MySpace Add ASP%2C+IIS+and+IP+Addresses to Del.icio.us Digg ASP%2C+IIS+and+IP+Addresses Add ASP%2C+IIS+and+IP+Addresses to Yahoo My Web Add ASP%2C+IIS+and+IP+Addresses to Google Bookmarks Add ASP%2C+IIS+and+IP+Addresses to Stumbleupon Add ASP%2C+IIS+and+IP+Addresses to Reddit




RSS | Editor's Picks Articles | Top Ten Articles | Previous Features | Site Map


For FREE email updates, subscribe to the ASP Newsletter


Past Issues


print
Printer Friendly
bookmark
Bookmark
tell friend
Tell a Friend
forum
Forum
email
Email Editor


Content copyright © 2014 by Lisa Shea. All rights reserved.
This content was written by Lisa Shea. If you wish to use this content in any manner, you need written permission. Contact Lisa Shea for details.

g


g features
Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Poetry
Daily
Weekly
Monthly
Less than Monthly



BellaOnline on Facebook
g


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2014 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor