close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Redirect after Update

Thread began 12/27/2012 3:28 pm by please_help | Last modified 1/02/2013 3:58 pm by please_help | 846 views | 8 replies |

please_help

Redirect after Update

Hello~

I recently built a registration system with SA and it's functioning nicely. However, I'd like to redirect the user after they're done updating their profile information on the userupdate page. I was able to successfully redirect after the registration, login, and logout pages, but cannot find the code for the userupdate page.

Thanks so much~

Sign in to reply to this post

Ray BorduinWebAssist

Open the Update Record server behavior on the update page and set the Go To Page field to the page you would like to go to after update.

Sign in to reply to this post

please_help

hmm.... there are two update record server behaviors.... one for the submit button and one for sending. I tried both and neither would work.

Sign in to reply to this post

Ray BorduinWebAssist

attach a copy of the page and I'll take a look.

Sign in to reply to this post

please_help

I think I attached the file.... if not, here's the link:

userupdate.php

You helped me yesterday with another issue.... I've restructured my files to match the webassist preferences.

Thanks so much!

No....it didn't attach. It said 'invalid file type' though it's a php... let me know if you need me to reformat it.

Sign in to reply to this post

Ray BorduinWebAssist

put it in a .zip file and upload it that way.

Sign in to reply to this post

please_help

here it is... I think this worked...

Thanks so much!

Attached Files
userupdate.php.zip
Sign in to reply to this post

Ray BorduinWebAssist

The blank line on line 7 could be what is preventing the redirect. Redirects can't happen after the page starts to render even if it is just a blank line that is written. Try deleting that line.

You should also remove the go to page in the second update server behavior and put it in the email instead since you don't want it to redirect until after the email is sent.

Sign in to reply to this post

please_help

I hope you had a wonderful New Years!

Thanks so much! I just made your suggested changes and it works perfectly!

Thanks again and I hope you have an excellent 2013!

Sign in to reply to this post

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...