close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DataAssist Search - retaining search results when using a search results detail page

Thread began 5/22/2012 5:57 pm by sandy170299 | Last modified 5/24/2012 11:14 am by Jason Byrnes | 804 views | 3 replies |

sandy170299

DataAssist Search - retaining search results when using a search results detail page

I have a site that I am creating and the DA search feature is working as it should, but when I click on one of the results to go to a detail page, and click the back button, the browsers aren't caching the search results. Is there any way to do this through hidden form fields or something else, instead of browser settings? I'll show you an example:

From this page (index.php), type in cave in the keywords search box.

This will take you to a search results page where you can click on the name of the listing to view the details. All up to this point is working fine.

However, when you use your back button on the browser, or a 'previous page' javascript link, you have to manually refresh the page. I know this has to do with browser caching, but is there any workaround for this? Do you have any suggestions?

Thank you!

Sign in to reply to this post

Jason ByrnesWebAssist

I'm not sure i understand the issue.

I have visited your search at:
advSearch.php

typed "cave" in the keywords text box.

I go to the Carvers Cave detail page

When i click the browsers back button I am prompted to Resubmit the form. This is because the action that loaded the results initially was a form submit. If i click yes, it shows the previous results.

the only way to get around the prompt to resend the form, would be to change the forms method to GET instead of using POST.

Sign in to reply to this post

sandy170299

Unfortunately, changing the action to GET didn't work. I cleared my cache and tried it in different browsers, but the same thing happened - I needed to refresh the page. Is there anything I can do with session variables, or URL parameters that you think might work? Thanks, Jason.

Sign in to reply to this post

Jason ByrnesWebAssist

no, this is really just the way browsers work.

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