Forums

ASP

This topic is locked

Insert Remote_host into table

Posted 23 Oct 2006 02:10:38
1
has voted
23 Oct 2006 02:10:38 Wim Conix posted:
Hello,

I want to track IP addresses from visitors and store them immediately in the database when opening the page.

I created a hidden field with value <%=Request.Servervariables("REMOTE_HOST"%>

How to use this field to insert into the visitors table ?
Can't use a form with POST because visitor doesn't have to take any action here.

Maybe something with an insert command, but I don't know how to retrieve the hidden field's value to insert it into the table.

Can someone help ?

Thanks,

Wim

Wim Conix
www.image-belle.com

Reply to this topic