B
BOBss
I have an .ASP page that comes up, and I am trying retrieve a variable from
the previous .ASP page. However none of the variables from the previous .ASP
page are available to the current .ASP page. There are three pages in this
chain.
1. NewUser.html
Information is input in this page, and posted to the next page using this
tag <form method="post" action="newUser_response.asp">.
2. NewUser_response.asp
Information is retrieved from the previous page using the
<%=request.form("strADLocation") %> tag, and then posted to the next page
using the <form method="post" action="newUser.asp"> This page is basically
just a confirmation page, and just displays the information from the
previous page, and sends it to the next page.
3. NewUser.asp
This page is supposed to retrieve all of the variables from the previous
..asp page using this syntax strADLocation = request.form("strADLocation"),
and create a user account, but none of the variables are available to the
script portion of this page from the previous .asp page
I had a similar problem when I was trying to make variables available to a
..asp page from a .html page, and later found out that I had to re-declare
the variables in the second page which was an .asp page using this syntax
strADLocation = request.form("strADLocation"). Everything worked great at
this point(HTML to .ASP). The problem I am having is that I added an
additional .ASP page(NewUser_response.asp) in the middle, and I can't seem
to retrieve the variables from the previous .asp page. Now the chain is HTML
to .ASP to .ASP. If
My question is: You should be able retrieve variables from an .ASP page to
an .ASP page. RIGHT?
If so can someone point me to some sample code?
Thanks in advance!
the previous .ASP page. However none of the variables from the previous .ASP
page are available to the current .ASP page. There are three pages in this
chain.
1. NewUser.html
Information is input in this page, and posted to the next page using this
tag <form method="post" action="newUser_response.asp">.
2. NewUser_response.asp
Information is retrieved from the previous page using the
<%=request.form("strADLocation") %> tag, and then posted to the next page
using the <form method="post" action="newUser.asp"> This page is basically
just a confirmation page, and just displays the information from the
previous page, and sends it to the next page.
3. NewUser.asp
This page is supposed to retrieve all of the variables from the previous
..asp page using this syntax strADLocation = request.form("strADLocation"),
and create a user account, but none of the variables are available to the
script portion of this page from the previous .asp page
I had a similar problem when I was trying to make variables available to a
..asp page from a .html page, and later found out that I had to re-declare
the variables in the second page which was an .asp page using this syntax
strADLocation = request.form("strADLocation"). Everything worked great at
this point(HTML to .ASP). The problem I am having is that I added an
additional .ASP page(NewUser_response.asp) in the middle, and I can't seem
to retrieve the variables from the previous .asp page. Now the chain is HTML
to .ASP to .ASP. If
My question is: You should be able retrieve variables from an .ASP page to
an .ASP page. RIGHT?
If so can someone point me to some sample code?
Thanks in advance!