I am trying to implement a F5-type reload for an online application. When I get the F5 I reload the URL from the server
::SciterLoadFile(hwnd, L"http:// dkiosk/index.html");
It works on startup, then when I hit F5 I get none of the css or script files reloaded (or executed). I am also calling DeleteUrlCacheEntryW(pns->uri) in SC_DATA_LOAD to kill the cache and make sure we pull new data.
debug output from SC_DATA_LOADED
reloading html
loaded http:// dkiosk/index.html with size 342, status 0
loaded http:// dkiosk/scripts/main.tis with size 4467, status 0
loaded http:// dkiosk/css/reset.css with size 729, status 0
loaded http:// dkiosk/scripts/main.tis with size 0, status 0
loaded http:// dkiosk/css/main.css with size 433, status 0
loaded http:// dkiosk/images/background.jpg with size 42076, status 0
reloading html
loaded http:// dkiosk/index.html with size 342, status 0
loaded http:// dkiosk/scripts/main.tis with size 0, status 0
loaded http:// dkiosk/css/reset.css with size 0, status 0
loaded http:// dkiosk/css/main.css with size 0, status 0
loaded http:// dkiosk/scripts/main.tis with size 0, status 0
::SciterLoadFile(hwnd, L"http:// dkiosk/index.html");
It works on startup, then when I hit F5 I get none of the css or script files reloaded (or executed). I am also calling DeleteUrlCacheEntryW(pns->uri) in SC_DATA_LOAD to kill the cache and make sure we pull new data.
debug output from SC_DATA_LOADED
reloading html
loaded http:// dkiosk/index.html with size 342, status 0
loaded http:// dkiosk/scripts/main.tis with size 4467, status 0
loaded http:// dkiosk/css/reset.css with size 729, status 0
loaded http:// dkiosk/scripts/main.tis with size 0, status 0
loaded http:// dkiosk/css/main.css with size 433, status 0
loaded http:// dkiosk/images/background.jpg with size 42076, status 0
reloading html
loaded http:// dkiosk/index.html with size 342, status 0
loaded http:// dkiosk/scripts/main.tis with size 0, status 0
loaded http:// dkiosk/css/reset.css with size 0, status 0
loaded http:// dkiosk/css/main.css with size 0, status 0
loaded http:// dkiosk/scripts/main.tis with size 0, status 0