明輝手游網(wǎng)中心:是一個免費提供流行視頻軟件教程、在線學(xué)習(xí)分享的學(xué)習(xí)平臺!

如何定義一個session 數(shù)組?

[摘要]Dim MyArray() Redim MyArray(5) Session("StoredArray") = MyArray 用的時候這樣:LocalArray = Session("StoredArray") LocalArray(1) = "...

Dim MyArray()
Redim MyArray(5)
Session("StoredArray") = MyArray
用的時候這樣:LocalArray = Session("StoredArray")
LocalArray(1) = " there"
Response.Write(LocalArray(0)&LocalArray(1)) (出處:熱點網(wǎng)絡(luò))