How i can capture IP address of each visitor who come on my website.

Which method is use to handle this task,
Is there need of database or can be handle with cookies etc.

Waiting for experts answers.

Hi

To capture the IP of a visitor you can set a variable equal to the server variable.

strYourVariable = request.serverVariables("REMOTE_ADDR")

to use a DB or cookie is dependant on what you are wanting to do with the IP address, you may just need a text file to hold the addresses.

hope this helps

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.