你在index.asp里加这句看看<% =response.Write(Server.MapPath(".")) %>是得到服务器全路径的dim aaaa=request.form("bbb")参考一下: 〈% dim str,host,url,keyword,full str="http://"; host = Request.ServerVariables("HTTP_HOST") url = Request.ServerVariables("PATH_INFO") 或url keyword = Request.ServerVariables("QUERY_STRING") if keyword <> "" then full = str&host&url&"?"&keyword else full = str&host&url end if session("url")=full %>