hey all,

my project at the moment is generating realtime rates in WML. this is done from a cgi call.

im having trouble getting wap browsers (including 7110s emu and HW) to read from a server rather than the cache. im including all relevant http headers (i think):

Content-type: text/vnd.wap.wml
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: %a, %d %b %Y %H:%M:%S GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache

where last-modified has the current date.

a solution that has just occured to me is to pass an extra parameter to my cgi call, a random number that i dont need other than to "mangle" the URL called. this should work, although im still wondering how to to this with "normal" pages.

another problem im having is getting the page to refresh automatically. assuming that the page will now be fetched from the server rather than the cache, an ontimer event would be used to achieve this. however, im having a lot of trouble the timing aspects of this event - the nokia reference says timer is mesured in 1/10 secs, but it seems to be way faster than this....anyone got a good rule of thumb (or even another way) of doing this?

thanks for your time...


Posted by Shak Shaikh, shakil.shaikh@db.com
on May 30, 2000 at 19:07