Friday, March 16, 2012

Passing a variable

Hi Everyone,

Still new to ASP Web development my question is: How do you pass a variable from a .Net Aspx page to a classic ASP page?

The simplest method will be using the QueryString object.

aspx

Response.Redirect("asp.asp?var1=hello")

asp

Response.write(request.querystring("var1"))

Regards

0 comments:

Post a Comment