Designer - Forms with cached data

I’m new to designer, so please be gentle…I have a databse with a form and a view. When I open a saved form from the view (using a browser), the form displayes cached data instead of the latest data in the fields. How can I force the form to display the latest data.

Thanks for your help,

Markus Bergh.

Subject: Designer - Forms with cached data

If you force a refresh in the browser and the correct data displays then you can use a META tag in the HTML HEAD of the form to specify NO CACHE. You can try one of these two;

OR

Subject: RE: Designer - Forms with cached data

In Domino 6+, you can use @SetHTTPHeader to set the actual response header values rather than rely on . That can make a difference, particularly with proxies.

Subject: Thanks! @Set… works better - but

Thanks all for your help.

The @Set commands work much better:

@SetHTTPHeader(“Expires”;@Now);

@SetHTTPHeader(“Cache-control”;“No-cache”)

I have added them to the “HTML Head Content” in designer, but the commands returne a “1” to indicate “Success” so the HTML code includes this “1” and the browser displayes the “1”.

The HTML code looks like this:

Incidents and Accidents1

Any ideas on how to hide the “1”? Should I put the @Set… command somewhere else?

Thanks for your help,

Markus Bergh.

Subject: RE: Thanks! @Set… works better - but

Assign the @SetHTTPHeader() commands to variables, then don’t use the variable:

setHead := @SetHTTPHeader(“cache-conrol”;“no-cache”);

If there’s nothing else going on in the head contents, make the final line “” to avoid the “main or selection statement” error.

Subject: Thanks Stan!

Thanks Stan, you’ve been a bg help.