I am working on a web project where I am required to display data from a interbase database into a grid view. however this data is constantly changing, iv managed to query the database and display the data into a grid view. I am now stuck on how I can automatically refresh the page after 5 minutes so that the new data is queried and displayed.
Can you please advice on how I may achieve the above.
If you are not using AJAX, you can set a
METArefresh tag to reload the page every 5 minutes.If you do use AJAX, you can set a
setTimeoutto refetch the data.