|
|
|
|
|
| | |
|
Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: How to pass parametre from asp to another asp? |
From: |
Don Green |
Date: |
2/9/2000 9:50:45 PM |
IP: |
202.7.15.135 |
Dont use Session vars, if you can avoid it. One, they require cookies, and two, they tie up resources on the server.
Use the QueryString object - you can use any name in the URL, after the ? eg. http://www.wxy.com?id=123
and then in your ASP code, get the value for id by id = Request.QueryString("id")
You can pass any number of parameters, use & for the second and subsequent parameters:
http://www.wxy.com?id=123&name=fred&addr=bob
name = Request.QueryString("name")
address = Request.QueryString("addr")
Clutters up the URL box in the browser, but much more efficient. |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|