meta refresh

Jan Willem Stumpel <[email protected]> Wed, 28 Jul 2004 20:14:42 +0200
Newsgroups gmane.comp.web.wiki.awkiawki.user
Message-ID <[email protected]>
Hi,

I just came across awkiawki and I am very impressed. Such a small 
program, such powerful results. This is the only wiki I found that can 
run (with excellent speed) on my small server. And because it is so 
small, even amateur programmers (like me) can try to understand and 
change it.

By some mistake, I started with version 0.1-PRE2, and then tried 0.1. 
One of the differences is the automatic refresh (after 2 seconds) 
following a save, using a META tag.

This works fine when the wiki is viewed by Mozilla, but I noticed that 
Internet Explorer on XP keeps refreshing the page *every* 2 seconds 
(sending a request to the server each time). This does not seem right.

I think the same effect (automatic display of the page after save) can 
also be achieved by means of

else if (query["save"] && query["text"] && page_editable)
   {
   save(query["page"], query["text"], query["string"], query["filename"])
   parse(query["page"], query["filename"], query["revision"])
   }

in the BEGIN action. I tried it, and it seems to work fine. The 
statement in function save:

print "saved <a href=\""scriptname"/"page"\">"page"</a>"

can then be commented out.

Would this be OK, or is there some dreadful side effect that I did not 
think of?

Regards, Jan.


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click