If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > passing a list as a parameter

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-07-04, 03:01
Riax Riax is offline
Registered User
 
Join Date: Mar 2004
Posts: 16
passing a list as a parameter

hi, can any buddy tell me how to pass values in a list on one page to another page
Reply With Quote
  #2 (permalink)  
Old 04-07-04, 17:35
Wigz Wigz is offline
Registered User
 
Join Date: Feb 2003
Location: Denver, CO
Posts: 34
Is the list an array? or what?

You have a few options:

(1) a session array or session string variable
(2) comma delimited string using Request.Querystring
or (3) set a hidden form field equal to the comma delimited string and post it to the next page by submitting a form

If you need help setting any of these options up, post a reply and I will show you some examples.
Reply With Quote
  #3 (permalink)  
Old 04-07-04, 22:21
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
Yes to further flesh out one option mentioned above you could have the page post back to itself:

ASP Design Tips - Post Back Page
http://www.bullschmidt.com/devtip-postbackpage.asp

And then use a session array to store the data so that it can be read by any other page:

Session Object
http://msdn.microsoft.com/library/de..._vbom_seso.asp
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Reply With Quote
  #4 (permalink)  
Old 04-08-04, 06:24
Riax Riax is offline
Registered User
 
Join Date: Mar 2004
Posts: 16
thank u wigz & Bullschmidt i got that right,its wrking
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On