Sign in to follow this  
soconne

[.net] asp jscript passing variables to another asp page

Recommended Posts

I have an online order form in html that posts all its form elements to another page called processorder.asp. In processorder.asp I gather all the information into variables and I need to then pass it to another page, but have the variables be posted to that other page as if they came from a form. How can I do this? So the setup is as follows: order.html ---> processorder.asp ---> transaction.asp In processorder.asp I get the values by using Request("var name"). But then I need to automatically redirecto to transaction.asp and make it think it was called from order.html so the variables I'm getting from Request("..") get put back in there, but with different names. Any help? ***EDIT***** Oh, and I cannot do this by simply passing the variables in the Response.Redirect string. The values must be hidden.

Share this post


Link to post
Share on other sites
do you have session cookies turned on? You can store variables in the Response.Cookies object and they should be invisible to the user.

Response.Cookies("name") = "value"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this