回複:web guru please help

來源: 俺是新來的 2003-10-03 11:43:00 [] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (1187 bytes)
本文內容已被 [ 俺是新來的 ] 在 2004-02-06 15:24:48 編輯過。如有問題,請報告版主或論壇管理刪除.
There a few ways to pass parameters to next page:
1. pass through a query string. eg : http://www.yourhome.com/yourpage.asp?parameter1="par1"¶meter2="par2"
On the next page, you can get these value using request.querystring("parameter1") and request.querystring("parameter2")

2. use hidden fields in a form. eg:





On the nexe page, you can get these values using
request.form("parameter1") and request.form("parameter2")

3. use session variable. eg:
session("parameter1")="par1"
session("parameter2")="par2"
On the next page, you man simplay use session("parameter1") and session("parameter2") as variables

4. use cookie. eg:
response.cookies("parameter1")="par1"
response.cookies("parameter2")="par2"
On the next page, you can get them by:
request.cookies("parameter1") and request.cookies("parameter2")

About the filter:
dim myvar
myvar="USA"
myrecordset.filter="country='" & myvar & "'"




--文學城www.wenxuecity.com--

所有跟帖: 

so nice, thanks --junkmail-- 給 -junkmail- 發送悄悄話 (0 bytes) () 10/04/2003 postreply 04:18:00

請您先登陸,再發跟帖!