G
Guy Hocking
Hi there,
First of all my apologies for seeming nieve and perhaps ignorant, i am new
to ASP so forgive me.
The Problem -
I have an ASP page that has a number of list boxes in a form. These list
boxes are populated; some by SQL tables and some just normal values.
Upon clicking the submit button the form runs a load of IF statements to
detirmine the correct page to be redirected to (response.redirect),
depending on what is in the list boxes.
The problem i have is that once the user has been redirected to the relevant
page, i cannot seem to display any data from the previous page.
I need, for example, to display the contents of ListBox1 on the second ASP
page.
What code do i need to do this? as i cannot get request.form or
response.write to work at all. Do i need to open a db connection again? or
somehow open a session?
NOTE that the form action = "", and it uses POST (so it posts to itself and
then redirects after the IF statements) not sure if thats a prob?
Thanks so much in advance
Guy
--
Guy Hocking
MCSE
www.bradflack.com
Please remove ANTI and SPAM from my
email address before sending me an email.
First of all my apologies for seeming nieve and perhaps ignorant, i am new
to ASP so forgive me.
The Problem -
I have an ASP page that has a number of list boxes in a form. These list
boxes are populated; some by SQL tables and some just normal values.
Upon clicking the submit button the form runs a load of IF statements to
detirmine the correct page to be redirected to (response.redirect),
depending on what is in the list boxes.
The problem i have is that once the user has been redirected to the relevant
page, i cannot seem to display any data from the previous page.
I need, for example, to display the contents of ListBox1 on the second ASP
page.
What code do i need to do this? as i cannot get request.form or
response.write to work at all. Do i need to open a db connection again? or
somehow open a session?
NOTE that the form action = "", and it uses POST (so it posts to itself and
then redirects after the IF statements) not sure if thats a prob?
Thanks so much in advance
Guy
--
Guy Hocking
MCSE
www.bradflack.com
Please remove ANTI and SPAM from my
email address before sending me an email.