Home

Programming

Biography

Gallery

Music Links

Games

Mail Me

visual basic logo

Welcome to this excursion into ASP

Please note that this pages needs to be saved with a .asp extension to function correctly. Since my ASP Server is unavailable this page is stored as html.

Every time you log on I get the following information about you

  • The page you were sent from was <%=Request.ServerVariables("HTTP_REFERER")%>
  • Your Browser and platform are <%=Request.ServerVariables("HTTP_USER_AGENT")%>
  • And your IP Address is <%=Request.ServerVariables("REMOTE_HOST")%>

There is nothing to stop me writing these values to a database (I'm not). This is useful for tracking who is using my site, but could also have more sinister uses - top tip : don't do things you shouldn't, someone's always watching.

Try putting the following into your ASP Code

  • Response.Write Request.ServerVariables("HTTP_REFERER")
  • Response.Write Request.ServerVariables("HTTP_USER_AGENT")
  • Response.Write Request.ServerVariables("REMOTE_HOST")

Last updated 30 July 2000