關(guān)于用戶點擊投稿時無法登錄的解決方法_風訊Cms教程
教程Tag:暫無Tag,歡迎添加,賺取U幣!
投稿存在這樣的小問題, 用戶假如沒有登錄,會轉(zhuǎn)到登錄頁面,地址如下
http://www.xxx.net/Users/UserLogin.asp?UrlAddress=http://222.39.111.190/users/News_UserAdd.asp?
這樣一來,用戶登錄的時候會出現(xiàn)找不到該頁的錯誤,解決方法如下
打開Membercheck.asp.找到第六行及第八行,將紅字標注的地方換成server_name
if Request.Servervariables("SERVER_PORT")<>"80" then
Urlm = "variables("local_addr/' target="_blank" >http://"&Request.Servervariables("LOCAL_ADDR")& ":" & Request.Servervariables("SERVER_PORT")& Request.Servervariables("URL")&"?"&request.QueryString
else
Urlm = "variables("local_addr/' target="_blank" >http://"&Request.Servervariables("LOCAL_ADDR")& Request.Servervariables("URL")&"?"&request.QueryString
相關(guān)風訊Cms教程:
- 相關(guān)鏈接:
- 教程說明:
風訊Cms教程-關(guān)于用戶點擊投稿時無法登錄的解決方法
。