Need Help with restarting webbrowser // recognizing cookies been deleted
My problem is I have code delete a cookie it deletes it perfectly but my webbrowser1 doesnt recognize that its gone unless I restart the app. I'm wondering how I could get the webbrowser to restart (not refresh) or any way to get it to recognize the cookies no longer there?
Any help is greatly appreciated, thanks in advance!
Re: Need Help with restarting webbrowser // recognizing cookies been deleted
you could do a "SendKeys" ctrl+F5 which clears the cache and refreshes.
or you could store the web address, dispose of the WebBrowserControl and create a new one that navigates to the stored address.
Re: Need Help with restarting webbrowser // recognizing cookies been deleted
Quote:
Originally Posted by
stateofidleness
you could do a "SendKeys" ctrl+F5 which clears the cache and refreshes.
or you could store the web address, dispose of the WebBrowserControl and create a new one that navigates to the stored address.
ctrl+f5 didnt work. How exactly would I dispose of the webbrowser and create a new one?
Re: Need Help with restarting webbrowser // recognizing cookies been deleted
Still haven't gotten this to work, any help is greatly appreciated.