Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

  • Newbies
Posted

This is probably a complete newbie question, but here goes...

I have a very basic web site built around the pages generated automatically by Homepage, using a query page, results page and record detail page. This all works quite well, except that if the 'refresh' button is pressed while in the results page a database error is returned. I assume that this is because the page is being re-called without the form data which initially was passed to it. There must be a simple way around this, surely...

Posted

No, there's not really a way around it. If the results were generated by a form submit the error will appear. If the resuts were generated by a URL the error doesn't occur.

The error is browser-dependent: Netscape asks if you want to resubmit the data, MSIE does not. It may vary with versions too.

Of course, somebody might have a java or javaScript work-around!

Posted

Sometimes using a meta tag's refresh capabilities can be of value. This is especially true if a form has been submitted using a -new action tag. When that is the case, it seems best to direct the success page through a blank meta tag page which then performs a -find on the db to locate the record just created. Thus a client who clicks Refresh (IE) or Reload (NN) will reprocess the -find action and not create duplicate record problems caused by reprocessing a -new action tag.

  • Newbies
Posted

Do you think it might work to reproduce my form in the target page, with no visible elements and then populate it with data and resumbit it via Jscript when the page is refreshed? I'm not sure whether this is a viable possibility or not.

Thanks,

Paul.

This topic is 8526 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
×
×
  • Create New...

Important Information

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