Get active with ASP

An ASP file can access data and return it to the browser. For example, your IP address is listed below:

<%response.write(request.servervariables("REMOTE_ADDR"))%>.

And your browser details are as follows:

<%response.write(request.servervariables("HTTP_USER_AGENT"))%>.

Requesting server variables is one of the exercises in ASP for Beginners.

ASP demonstration

Home page

Copyright