<%=Request.ServerVariables("HTTP_REFERER")%&# 062;<BR><BR>Although some browsers sometimes don't send it...<BR>It's a rough guide but don't rely on it too heavily is what I'm saying.<BR><BR>Craig.
On a related subject..<BR>Say I have different pages of my site that require the user to login. If the user trys to gain access without being logged in, he is redirected to login.asp. Once he submits his login details I want to send him on his way to whichever page he was originally linking to. I therefore need to know which page that was. Is using HTTP_REFERER the best way to redirect in this case or are there other methods?<BR><BR>Thanks.