I've created an aspx page which contains options for configuration of the final operation, the final operation on this page requires it to create backups of a number of folders; this can take a while.
Upon clicking the start button, it currently starts a timer which reads a log file (updated by the backup processes) from the system and periodically outputs this to a multi-line text box on the webpage. However, as the backing up process can take a while, this textbox does't get updated until the backup has been completed.
I just want to know, what's the best way to approach this I've been considering the following:
- Webservice - As it's on the same server is this worth it? Also will this run the longer processes, allowing the timer to continue working?
- Javascript to read the logfile and keep the textbox updated?
This is all on 1 server, it's just accessed/managed via this webpage.