推薦:asp入門:asp如何保存數據下面我們就來看看實例教程吧. 先來看看提交的頁面: FORM ACTION=saveinfo.asp METHOD=post !-- Your fields here -- INPUT TYPE=submit value=Submit /FORM 下面看看接收數據并保存的頁面. % Set fs = CreateObject(Scripting.FileSystemObject) Folderpath=server.map
如果程序中沒有設置session的過期時間,那么session過期時間就會按照IIS設置的過期時間來執行,IIS中session默認過期時間為20分鐘,IIS中session時間可以更改分享:asp簡單文本計數器% Set fs = CreateObject(Scripting.FileSystemObject) Wfile=server.mappath() cgi-binwww.111cn.cn/asp/asp.html.txt on error resume next Set a = fs.OpenTextFile(Wfile) hits = Clng(a.ReadLine) hits = hits + 1 a.close if error then hits = 1 end if Set a =
新聞熱點
疑難解答