Skip to Content.
Sympa Menu

ndt-users - Re: admin.html page refresh timeout

Subject: ndt-users list created

List archive

Re: admin.html page refresh timeout


Chronological Thread 
  • From: Matt Wilson <>
  • To:
  • Subject: Re: admin.html page refresh timeout
  • Date: Thu, 10 Nov 2005 17:40:54 -0600

At 2:05 PM -0500 11/10/05, Richard Carlson wrote:
Hi Matt;

The refresh time is hard coded in the src/web100-admin.c file. You can change the time or location there. If you send me a patch I'll apply it to the base code.

Rich


Hi -

I've pasted a proposed patch below. It changes the refresh timeout from 30 seconds to 5 minutes.

Also, my previous statement that
This could also be accomplished if the meta refresh url was changed to "#" instead of "admin.html".
is flat out wrong. I got confused by differing browser behavior -- IE vs Firefox. Must be too much blood in my caffeine system.... Anyway, I left the url parameter alone.

Thanks again Rich for your time and helpful replies-
Matt


--- ndt-3.1.4b/src/web100-admin.c 2004-12-30 12:34:56.000000000 -0600
+++ ndt-3.1.4b-mwilson/src/web100-admin.c 2005-11-10 15:35:10.000000000 -0600
@@ -280,7 +280,7 @@ gen_html(int c2sspd, int s2cspd, int Min
fp = fopen(AdminFileName, "w");
/* generate an HTML page for display. */
fprintf(fp, "<html> <title>NDT server Admin Page</title>\n");
- fprintf(fp, "<meta http-equiv=\"refresh\" content=30 url=admin.html>\n");
+ fprintf(fp, "<meta http-equiv=\"refresh\" content=300 url=admin.html>\n");

/* First build current results table */
fprintf(fp, "<table border>\n <tr>\n ");



Archive powered by MHonArc 2.6.16.

Top of Page