Highlighted

How do I refresh a page after a database update?

Participant ,
Oct 15, 2014

Copy link to clipboard

Copied

I have a page where I perform a database update and then redirect the page back to itself.

Even though the database is updated correctly and the page is redirected, it is not refreshing the page so I am not able to see the changes made to the database.

How do I make this happen?

Views

250

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

How do I refresh a page after a database update?

Participant ,
Oct 15, 2014

Copy link to clipboard

Copied

I have a page where I perform a database update and then redirect the page back to itself.

Even though the database is updated correctly and the page is redirected, it is not refreshing the page so I am not able to see the changes made to the database.

How do I make this happen?

Views

251

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 15, 2014 0
LEGEND ,
Oct 17, 2014

Copy link to clipboard

Copied

I think the most common way is to use AJaX to query the database and refresh the DOM with the new data.

V/r,

^_^

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 17, 2014 0
BKBK LATEST
Adobe Community Professional ,
Oct 17, 2014

Copy link to clipboard

Copied

It will make for an easier discussion if you show us the code that does the redirection.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 17, 2014 0