<% Ref=request.servervariables("http_referer") Ref=lcase(Ref) if instr(Ref,"simar.nl") > 0 then Session("login")=1 Response.Redirect("UI/Pages/VPUI.asp") end if response.write(Ref) %>