那是ASP处理的事情
if 身份 = "X" then
 response.redirect("2.asp?id=X")
end if