session error 翻譯過來是會話錯誤 所以所如果是專案程式錯誤的話:那麼你可以在瀏覽器工具欄選擇清除上網記錄(也就是cookie記錄) 然後再次點選登入 可能就沒有問題了其次:neirong=request.Form("neirong") "翻頁會丟失url=""&neirongnum = Cint(request.QueryString("pNum"))session("liebie")=request.Form("type") "翻頁會丟失session("difang")=request.Form("difang") "翻頁會丟失改成如下"" thensession("liebie")=request.Form("type")session("difang")=request.Form("difang")session("neirong")=request.Form("neirong")end ifif (session("difang"))=1 thenresponse.Redirect(url)else if (session("difang"))=2 thenif session("liebie")="" thensession("liebie")=request.Form("type")end ifif (request.QueryString("pNum"))100000000000000 thensql = "select * from "&session("liebie")&" where neirong like "%"&session("neirong")&"%" order by date desc"Set rs=server.createobject("adodb.recordset")rs.Open sql, conn, 1, 3if rs.Eof and rs.Bof thenResponse.Write("沒有資料!")Response.endend ifpSize = 2%>補充在web.xml配置檔案中..dwr的配置加入corssDomainSessionSecurity這個配置選項..這個引數是在dwr版本2.0才有的.預設值為true,也就是禁止其他域傳送請求.corssDomainSessionSecurity:設定成false能夠從其他域進行請求.注意這樣做會在安全性上有一些冒險.
session error 翻譯過來是會話錯誤 所以所如果是專案程式錯誤的話:那麼你可以在瀏覽器工具欄選擇清除上網記錄(也就是cookie記錄) 然後再次點選登入 可能就沒有問題了其次:neirong=request.Form("neirong") "翻頁會丟失url=""&neirongnum = Cint(request.QueryString("pNum"))session("liebie")=request.Form("type") "翻頁會丟失session("difang")=request.Form("difang") "翻頁會丟失改成如下"" thensession("liebie")=request.Form("type")session("difang")=request.Form("difang")session("neirong")=request.Form("neirong")end ifif (session("difang"))=1 thenresponse.Redirect(url)else if (session("difang"))=2 thenif session("liebie")="" thensession("liebie")=request.Form("type")end ifif (request.QueryString("pNum"))100000000000000 thensql = "select * from "&session("liebie")&" where neirong like "%"&session("neirong")&"%" order by date desc"Set rs=server.createobject("adodb.recordset")rs.Open sql, conn, 1, 3if rs.Eof and rs.Bof thenResponse.Write("沒有資料!")Response.endend ifpSize = 2%>補充在web.xml配置檔案中..dwr的配置加入corssDomainSessionSecurity這個配置選項..這個引數是在dwr版本2.0才有的.預設值為true,也就是禁止其他域傳送請求.corssDomainSessionSecurity:設定成false能夠從其他域進行請求.注意這樣做會在安全性上有一些冒險.