×

Loading...

我的建议1- 用session变量eg:in asp you use: Session("MyVariable") = MyValue, then use this varaible in any asp page in the same application, which means all pages are in the same virtually directory.

2- 在asp page之间传递变量eg: in a asp page, you write:
<% dim MyPara
MyPara = "Good Night"
response.redirect( "AnotherASPPage.asp?" & sever.HTMLEncode (MyPara))
%>
用这种方法的缺点是,如果你要在所有的page中使用相同的变量职的话,你必须不厌其烦的在每个page之间不断的股捣传递变量,所以建议你用session.
Report