Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9208483
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:37:39+00:00 2026-06-18T00:37:39+00:00

Well i’m having a problem with a cookie thats displaying a Windows Security Warning

  • 0

Well i’m having a problem with a cookie thats displaying a “Windows Security Warning – Cookie” after executing wb.Dispose().

enter image description here

My code

string url = "myweb.com";
WebBrowser wb = new WebBrowser();
wb.Navigate(url);
while (wb.ReadyState != WebBrowserReadyState.Complete) { Application.DoEvents(); }
//Fill a form
//Invoke Button
wb.Dispose();

Question:
I dont want to use that cookie, i just want the fastest way to skip it so this msg wont popup.

Tried

1)I tried changing IE settings to “Override automatic cookie handling” and setting first+third party cookies to “Block”

2)

webBrowser.Navigate("javascript:void((function(){var a,b,c,e,f;f=0;a=document.cookie.split('; ');for(e=0;e<a.length&&a[e];e++){f++;for(b='.'+location.host;b;b=b.replace(/^(?:%5C.|[^%5C.]+)/,'')){for(c=location.pathname;c;c=c.replace(/.$/,'')){document.cookie=(a[e]+'; domain='+b+'; path='+c+'; expires='+new Date((new Date()).getTime()-1e11).toGMTString());}}}})())")`

3) Changing Local Policies Turn off the Security Settings Check feature to Enabled

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T00:37:40+00:00Added an answer on June 18, 2026 at 12:37 am

    I think you have selected “Override automatic cookie handling” mode in Advanced settings for cookie. You can check that in “Internet Options”->”Privacy”->”Advanced”. There is a help on Managing Cookies in Internet Explorer 9

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well the problem is that I was using code like this: new Date().toJSON().slice(0, 10)
Well, I've tried my best to look at code examples and posts all over
Well, I have built an android app. It works fine but the problem is
Well, I'm having this issue now. I'm using MKStoreKit in my in-app purchase. This
Well, when you hold a key on your keyboard, after the first fire there
Well, I am having problems with an nsarray that it is adding duplicate objects
Well, I'm trying to reuse a portion of C# code. It's an abstract class
Well, here is the problem: I construct a QTableView and use the setModel(myModel) method
Well, merry christmas all! I am having trouble with the following whilst writing my
Well I want to generate pseudo-random bits for a mathematical problem. The Bit size

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.