close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

After updating, the page loads with the old information, even though I see in the db that it's changed. How to force reload?

Thread began 4/29/2017 4:18 pm by dionysus224892 | Last modified 5/08/2017 10:03 am by Ray Borduin | 1248 views | 6 replies |

dionysus224892

After updating, the page loads with the old information, even though I see in the db that it's changed. How to force reload?

I've tried with $UpdateGoTo = ""; as well as $UpdateGoTo = "ipsformmod.php";

I've also tried form action being empty AND with the name fo the file "ipsformmod.php".

Is there somewhere else that I need to enter in some info?

Sign in to reply to this post

Ray BorduinWebAssist

Setting the UpdateGoTo should work. Can I see a copy of the page?

Sign in to reply to this post
Did this help? Tips are appreciated...

dionysus224892

When I put that in, the POST info that loads the correct member's page doesn't load, so the page is missing all relevant info from the db.

Sign in to reply to this post

Ray BorduinWebAssist

Can I get a copy of the actual page. I'm assuming you have a recordset you are using to get the values that were saved and then that recordset is used to populate the form fields. That must be done wrong. The issue isn't in your update database code, since you have already stated that part works. The issue is in the recordset and code setting the values in the form to match.

Sign in to reply to this post
Did this help? Tips are appreciated...

dionysus224892

Sure.. here is the file. Thanks for the quick reply.

Sign in to reply to this post

Ray BorduinWebAssist

You are filtering your recordset with a form variable, so redirecting isn't an option.

But your recordset code is above your update code, so that is why it doesn't have the changes. The correct solution is probably to remove the redirect and just manually move your recordset code below the update code.

Sign in to reply to this post
Did this help? Tips are appreciated...

dionysus224892

That was the correct solution. Thanks very much!

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