When passing strings or numbers, using a form or the querystring is a viable option. Many developers, though, think that they need to use session variables to pass arrays from one ASP page to another. This is far from the truth! classic asp form post array Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site
I am using the following For loop to display all files in a folder excluding files with an. asp extension. I want to add the filename to an array, so that objFileItem. Name gets added to each elem classic asp form post array
ASP Classic ASP Intro ASP Syntax ASP Request Object How the Form collection retrieves the values from a form (the form uses the post method the information sent is invisible to others). How to use information from forms How to use the values retrieved from a form. More information from a form I'm pretty new to classic asp and working with arrays is not fun: ( I keep getting an error on dim isMyApiResponse if MyAvailRooms Error then Looping through a form to get field names and filed values issue (classic ASP) This isn't possible and the best you can do is either creating an array or Dictionary Object with those namevalue pairs. stealthyninja Jan 31 '12 at 10: 28. Classic ASP Post a Form. 0. ASPClassic classic asp form post array Passing Variables Between ASP Pages using POST The previous FAQ described how to pass information from one page to another using the QueryString. To assimilate variables in the QueryString you can either use a form with METHOD GET or redirect the user to a URL which looks like: ASP Classic ASP Intro ASP Syntax ASP Variables ASP Procedures ASP Conditionals ASP Looping ASP Forms ASP Cookies ASP Session ASP Application ASP# include ASP Global. asa ASP AJAX ASP email ASP Examples The Form collection is used to retrieve the values of form elements from a form that uses the POST method. Jul 19, 2005 array in form post. ASP Active Server Pages Forums on Bytes. ASP Arrays. Arrays in ASP follow the exact same form and rules as those arrays in VBScript. You can create an array of specific size or you can create a dynamic sized array. Below we have examples of both types of arrays.