Jump to content
  • Advertisement
Sign in to follow this  
soconne

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

This topic is 4452 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!