Skip to main content
Participating Frequently
August 7, 2006
Question

Pass form data to redirect page?

  • August 7, 2006
  • 2 replies
  • 388 views
This site

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15239

explains how to do this for VBScript (ASP), but with 8.02 DW no longer generates the same code for Record Insert pages. The instructions instruct the user to look for this line of code
If (CStr(Request("MM_insert")) <> "") Then
and then insert the desired session variable info below. However, this line no longer exists, so where do I insert the session variable into to get this work. As of now, this is broken.
Any ideas?
This topic has been closed for replies.

2 replies

Inspiring
August 7, 2006
Bit of a convoluted method that. The easiest solution would be to use
Server.Transfer instead of Response.Redirect. The state of the page is then
maintained.

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004



Inspiring
August 7, 2006
As i understand you wish to insert some data into a database from a web form on another page?

Please explain your scenario so we can understand your situation.

Cheers, Adam
Participating Frequently
August 7, 2006
No, I want to pass the information entered into a web form and saved in a database to the redirect page using session variables. The URL I referenced provides instructions for how to do this, but the instructions refer to code that DW no longer apparently writes when you use the Insert Record Form Wizard.

This worked before, but now it doesn't, or at least it works differently.