对,,加在动网登录login.asp里面了,,做了一个判断.. 好像是135行左右,If instr(lcase(request("comeurl")),"reg.asp")>0 or instr(lcase(request("comeurl")),"login.asp")>0 or trim(request("comeurl"))="" Then comeurlname="" Response.Cookies("yxlove")("username") = username Response.Cookies("yxlove")("password") = password if request("webact")="site" then Response.Redirect("/") comeurl="index.asp"