Pass values of your array from one page to another
2701Pass values of your array from one page to anotherhttp://www.scriptmate.com/resources/articles/article.asp?id=12How often have you wanted to pass information in a array from one page to another ? I wanted to do it many times but used many things like session variables and application variables till I found the better way of doing it ! Using Split and Join Functions. Join() can put the values of your data in a array in a string seperated by a given charater. This data can then be put into a querystring and then be passed to the next page. You can now retrieve the values in the querystring and Split() them. Just use the function with the same character you has used to join them. And you have the data in a new arrayASP > Tips and Tutorials > DevelopmentOct 10, 2006
To streamline code on the main page and easily allow many possibilities the above sample uses a custom ASP class called objjpsvbBuildOption which resides in an included page to actually fill the listboxes. But the same concept here also applies no matter what code is used to fill the listboxes
One of the most common problems encountered in ASP when using SQL statements, is the existence of an apostrophe (i.e. single quotation mark) in an SQL query string.
These two input parameters are Boolean values. bolShowOutput, if True, will dump out the form field names and values for all to see. This has the effect of making your HTML page uglier and harder to read - therefore, if you are testing on a live site, you should set this value to False, in which case the form field names and values will be outputted inside of an HTML comment tag (), so that they can only be seen via a View/Source.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.