SWAT wish list

Simon Hyde shyde at poboxes.com
Tue Mar 17 19:30:34 GMT 1998

On Tue, 17 Mar 1998 23:44:32 +1100, you wrote:

>> couldn't you just bung the following in the page somewhere?
>> <META NAME="moved"
>> CONTENT="delay_in_seconds;URL=http://samba.anu.edu.au:901/status"
>> HTTP-EQUIV="Refresh">
>I've just implemented this (as I described in the last email) and I
>found a problem. When the page refreshes it reloads all elements,
>rather than just going to the new page. This means it reloads the 6
>images we well as the main page.
>With a refresh time of 10 seconds these 42 hits per minute were enough
>to trigger the automatic denial of service preventer in inetd and it
>shut down swat. Nasty!
>So, does someone know a varient of the above incantation that causes
>browsers to just load the specified page without flushing all elements
>from the current page from their cache? I'm using Netscape 4.04 if it

If you do happen to still go for the refresh option despite the forced
image reload (which incidentally netscape only seems to do if you've got
auto-load images on, if you don't have auto-load images but have loaded the
images manually it keeps it's cached copy) then you will probably want to
move from the HTTP-EQUIV method of adding HTTP headers from HTML to a true
HTTP header since you have direct access to them, ie add the following:

Refresh: delay;URL=url

before your

Content-Type: text/html

Just a thought.

Simon Hyde

More information about the samba-technical mailing list