P
preet
I posted this elsewhere ; probably the wrong place so i am posting this
again
I am using the following script:
hrefer=Request.Servervariables("HTTP_REFERER")
hrhost=Request.Servervariables("REMOTE_HOST")
hruagent=Request.Servervariables("HTTP_USER_AGENT")
hriisid=Request.Servervariables("INSTANCE_ID")
hrsname=Request.Servervariables("SERVER_NAME")
hladd=Request.Servervariables("LOCAL_ADDR")
ipadd=Request.Servervariables("REMOTE_ADDR")
If session("ipadd") <> ipadd Then
session("ipadd")=ipadd
sql="insert into iplog (hrefer, hrhost, huagent, hiisid, hsname,
hladd,
ipadd) values " & _
"('" & hrefer & "', '" & hrhost & "', '" & hruagent & "', '" &
hriisid
& "', '" & hrsname & "', " & _
"'" & hladd & "', '" & ipadd & "')"
conn.execute sql
End If
Problem is that it works fine, but does not record the refering website
; like if the request comes from a google search ; it does not record
the google querystring used, so i am not able to extract the keywords
used.
Suggest.
A comprehensive knowledgebase on EECP treatment and procedures
worldwide.
http://www.eecpworld.com
Provide your suggestions for improvement
again
I am using the following script:
hrefer=Request.Servervariables("HTTP_REFERER")
hrhost=Request.Servervariables("REMOTE_HOST")
hruagent=Request.Servervariables("HTTP_USER_AGENT")
hriisid=Request.Servervariables("INSTANCE_ID")
hrsname=Request.Servervariables("SERVER_NAME")
hladd=Request.Servervariables("LOCAL_ADDR")
ipadd=Request.Servervariables("REMOTE_ADDR")
If session("ipadd") <> ipadd Then
session("ipadd")=ipadd
sql="insert into iplog (hrefer, hrhost, huagent, hiisid, hsname,
hladd,
ipadd) values " & _
"('" & hrefer & "', '" & hrhost & "', '" & hruagent & "', '" &
hriisid
& "', '" & hrsname & "', " & _
"'" & hladd & "', '" & ipadd & "')"
conn.execute sql
End If
Problem is that it works fine, but does not record the refering website
; like if the request comes from a google search ; it does not record
the google querystring used, so i am not able to extract the keywords
used.
Suggest.
A comprehensive knowledgebase on EECP treatment and procedures
worldwide.
http://www.eecpworld.com
Provide your suggestions for improvement