In my application, user will open multiple tabs by clicking on menus. Each tab is dynamically created and containing webbrowser control to load URL.
Each URL point to same server and some of URL does not have access so , gives Resource not have access
error received.
Now, problem is, example- If user directly click on Menu3
and related tab loaded with webbrowser URL and follow to next, URL contain other popup link then it works and able to popup the URL.
Now, user click on Menu5
where not have access so, get this error Resource not have access
(denied from server). Its fine.
NOw, again URL reach to
Menu3and try to open sub link to popup dialog then it gives
403 forbidden error- decline access`. It works initially but, later it just giving this error.
As it looks, I need to clear the WebBrowser Control
cache or forcely start with new session.
Can any one please guide me how to force WebBrowser to start new session or remove earlier caches ?