close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Different Page Redirect following insert based on form data

Thread began 1/31/2010 2:32 pm by Daryl | Last modified 3/19/2010 5:04 pm by Daryl | 2259 views | 21 replies

DarylBeta Tester

Eric

Thankyou for your very prompt reply!

  You are setting the redirect in the update behavior to the session variable. This should redirect you to the page in this variable when the update occurs. After the update you have the custom code to check on the posted values and redirect based on that. If this is how you would like to do the redirect you should remove it from the update server behavior.  



This is exactly what I want to happen. The form updates a database, then depending on the selections made will re-direct to a different page.

I am at a loss regarding how to achieve what you are suggesting. are you saying that I need to remove this session variable?

$WA_redirectURL = $_SESSION['inform'];



I am confused on what needs to be put here instead and if there is no session variable how will the page know which redirect to follow?

Sorry, I am probably being really thick now.

  Also, the custom redirect code that you have is not using the same trigger,  



Which is the trigger in the redirect script? Is it;

header("Location: " . $_SESSION['inform']);



If so, what should it now be?

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...