ASP 有關整合動網論壇的問題

2021-09-05 15:51:21 字數 1315 閱讀 8940

響應者

1:最簡單的方法 把你**的使用者表並給動網 在動網寫入cookies的地方寫入session給你**用,在動網的login.asp

尾部.

響應者

2:最簡單的方法是:當你開啟論壇的連線前,先自動登入一遍,**如下:

dim username,password

username=session("_username")

password=session("_userpass")

if username<>"" and password<>"" then

if 1=1 then

with response

.write("")

.write("")

end with

else

response.write(username)

response.write("

")

response.write(password)

end if

end if

然後在 login.

asp裡面把下面的**替換成 最後一句

'這裡是頁面的轉向

'dim tempstr

'tempstr = template.

html

(2)

'if d

vbbs.forum_chansetting(0)=1 and d

vbbs.forum_chansetting(10)=1 and d

vbbs.forum_chansetting(12)=1 then

'tempstr = replace(tempstr,"",template.

html

(3))

'else

'tempstr = replace(tempstr,"","")

'end if

'tempstr = replace(tempstr,"",comeurl)

'tempstr = replace(tempstr,"",comeurlname)

'tempstr = replace(tempstr,"",d

vbbs.forum_info(0))

'response.write tempstr

'tempstr=""

response.redirect(comeurl) '直接轉向

響應者

3:非常感謝兩位的幫忙,尤其是ilik(煊燁※涅磐)給出如此詳細的解決方法,目前登陸問題已解決,接下來就是使用者的論壇許可權的問題,這個自己再琢磨下,應該就可以搞定

動網論壇深度整合之Cookies詳解

動網論壇這個另無數asp開發者頭疼的傢伙,不要說它整個程式如何,如何難懂,相互關聯如何複雜,就單說它的cookies這一項就讓很多人摸不著邊際,在動網6.0之前的版本,有個漏洞就出在cookies上,別人可以利用cookies欺騙對動網進行攻擊,在之後的版本動 別加強了cookies的安全性,這一漏...

Access ,Oracle , 動網論壇v7 0

新人新氣象,流水一篇.最近應主管的要求,要把動網論壇放到內部網站上來,並且要把for access 改成 for oracle.我原來到是沒接觸過oracle,但是一想,無非就是修改一下sql而已,也沒甚麼太難得.結果一改,問題來了,oracle的中沒有自增id這個概念,只能用sequences 或...

SQL注入入侵動網SQL版論壇

現在動網最新版本是7.0 sp2。應該說安全性已經是很高的了。所以從指令碼本身的問題去突破它難 度不小。但是我們可以從外部的一些途徑間接 搞定 動網.現在iis asp sql2000的組合是比較常見的。而乙個 運用大量的asp指令碼程式,難免不出紕漏。如果一台主機上存在某個sql注入點,而這台主機...