Database is not reflecting the changes on the web

Hello frens, Well my problem is that I enter some data thru the form and I want that it will get reflected on the web-site at the same time …But the problem is that It will take some time to show the changes .When I update the index thru Database Properties then it will show the changes .What is the reason behind this .Is this is due to bulkiness of Database? Please tell me the problem as well as the solution?

Thanx in advance

Kanishka

Subject: Force a refresh

When you say “It will take some time to show the changes” I assume you are referring to the view to which the user returns after adding or editing a document. Solution: in your form’s $$Return field, append a random number to the URL of the view. This will force a refresh of the view so that it will show the new/changed data.

Example: this $$Return formula shows a ‘Document saved’ message and then opens the “myview” URL. A random number, R, is appended to the URL to force the refresh.

R:=@Text(@Random);

“<script language="Javascript">var pathname=window.location.pathname.toLowerCase().split (".nsf"); alert(‘Document saved.’); window.location=pathname[0]+".nsf/myview?OpenView&r=”+R+“"”

Subject: Database is not reflecting the changes on the web

It’s your navigator checking new version of the page each time the page is loaded?

Press F5 in your navigotr to see if it is updated.

If this is the problem, go to the options of your navgator.

Subject: RE: Database is not reflecting the changes on the web

you can also increase the frequency of the auto indexing of the database - depending on the size of the index it will take some amount of time to reindex and this delay will be unavoidable