Skip to content Skip to sidebar Skip to footer

Using Variables From Previous Asp Page

On my first page I have an array defined as: dim selection selection = Array('name', 'city') On the following ASP page I'd like to call the same variables but I'm having a har

Solution 1:

You have some options, Or you put the values inside an html form on the first page and post it to the second page and then request.form values; Or you call the second page and pass the values by the caller name (ex. page2.asp?varname=varvalue), then you request.querystring these values on your second page;Or you use session variables. Ex.: session("varname")=varvalue then you get it on second page by this way session("varname"). For example: response.write(session("varname")).

As you're using arrays, things gets complicated, but just a bit. You've already know how to deal with'em.

Post a Comment for "Using Variables From Previous Asp Page"