I am using this script to get the location of the user! (Which page are they on right now?)
- HTML: Select all
whereIsTheUser = Request.ServerVariables("HTTP_REFERER")
and put it in on top of every page I have in my site. (as an
ASP Include File)
The value will then saved(UPDATE tablename SET userPageOn = '"& whereIsTheUser &" WHERE username = '"& Session("name") &"'"') into the database.
My
little problem is in the IF THEN ELSE part!
Could anyone give me a better idea on how to do this?
Thanks.