Jump to content

Inline action shows wrong result


Robtech
 Share

This topic is 7460 days old. Please don't post here. Open a new topic instead.

Recommended Posts

It might be a browser problem not refreshing the page.

I had a big problem with this and I used javascript to take care of it.

It works 99% of the time.

Check out some javascript sites for the best script for you.

Thanx

Rob

Link to comment
Share on other sites

I'm using an Inline action to display records on a web page. I want to edit or delete these records so I use the [records][/records] code to display them. Each record has two forms, one for edit and one for delete. The forms are identical except for the field to edit in the edit form and ofcourse the edit and delete action. When I edit the form and recall the same page with the updated records, this works fine. When I delete a record, the page returns, telling me the record is deleted but the record still shows in the list inside the inline. In the database the record is deleted. The page however does not return the last changes in the database. Does this sound familiar to anyone?

Link to comment
Share on other sites

the reason it is doing this is because the page is Cached... to get around this i put these two tags between the <head> and </head> tags on all of my format files..

<META HTTP-EQUIV="expires" CONTENT="0">

<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

this will make the browser call for the latest version and not look for the cached version..

Link to comment
Share on other sites

This topic is 7460 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.