Welcome Guest Search | Active Topics | Sign In | Register

WebBrowser Load Failed Error Code -400 Options
NRGSTREAM
Posted: Wednesday, September 9, 2015 4:15:29 PM
Rank: Member
Groups: Member

Joined: 9/1/2015
Posts: 23
I'm getting a LoadFailed event fired with error code -400 when a user clicks a button on my site that runs javascript:history.back(); I can't find -400 in the error code enumeration. What is this error and why would it fire?
eo_support
Posted: Wednesday, September 9, 2015 5:17:57 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

400 is CACHE_MISS. You can probably force a refresh in that case.

Thanks!
NRGSTREAM
Posted: Wednesday, September 9, 2015 5:55:47 PM
Rank: Member
Groups: Member

Joined: 9/1/2015
Posts: 23
Does that mean my app is not caching the pages? The same javascript function works fine under the .NET WebBrowser control
eo_support
Posted: Wednesday, September 9, 2015 6:03:05 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

It depends. The browser engine can decide to throw older page out of the cache. The page may also have a cache policy that prevent it from being cached. Different browser may also have different default policies. CACHE_MISS is the same as the common "this page is outdated, please refresh" message you see with regular browsers.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.