How can you control and change when you accept a cookie?

Wondering about cookies and the web. Is there a way that you can control exactly when your pc can and can't accept a cookie from a website. I mean sometimes I don't it and sometimes I do. Thanks for suggestions.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If your router has multiple ports - one port will connect to your broadband (WAN) and the others will connect to any of the remaining ports.  The router probably is set up for DHCP so, each machine will acquire its own IP address from that and then you should be able to connect (assuming they're all in the same workgroup).
Sorry wrong post!
Yes Tools/Options/Privacy Tab will allow you to adjust these settings.
SolarWinds® IP Control Bundle (IPCB)

Combines SolarWinds IP Address Manager and User Device Tracker to help detect IP conflicts, quickly identify affected systems, and help your team take near instantaneous action. Help improve visibility and enhance reliability with SolarWinds IP Control Bundle.

If you set it to prompt you each time, you can then select "Always Enable" or "Always Block" on each new site you visit.
And if you ever accidentally "Always Block" the wrong one, come back to the privacy tab to Edit the sites (or shortcut - double-click the 'red-eye' in the status bar)
Here is a little script that I use when I want to make quick changes. You can actually leave it on the desktop and use it when necessary.

Specify whether a Web page can save a small file of personal information (cookie) associated with the page to the computer. To enable cookies set the value to 0; to disable cookies set the value to 3. If you set the value to 1, the user will be prompted as to whether he or she wants to use cookies.

Just put this into a (.vbs) file.

strComputer = "."
Set objReg = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4"
objReg.CreateKey HKEY_CURRENT_USER, strKeyPath
ValueName = "1606"
dwValue = 1
objReg.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, ValueName, dwValue

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Or use a browser with better cookie controls, like the Mozilla Firebird browser I'm using right now (
bbaoIT ConsultantCommented:
i'd like to recommend opera as your browser for its pretty powerful cookie control, certainly, it also has a lot of other useful features.
as already said: use any mozilla based browser (Mozilla, Firebird, Netscape, ..) or Opera
AFAIK, mozilla has best control (blacklists, whitelists, per-cookie-accept, etc.), currently
I don't have a problem with cookies using IE (I've tried Opera and didn't like it).  I also have Netscape and prefer IE, especially with the MyIE2 add-on.
I'm asked at each site if I want to accept or block a cookie.  If it's a site I need cookies on, I'll say accept and check for everytime hereafter.  Otherwise, I choose block for everytime thereafter.  Now I don't see those messages as often, unless I'm visiting new sites.
bbaoIT ConsultantCommented:
with opera, you can view the cookies list and manage (edit, delete) them one by one, so you can exactly control cookies. with IE, i dont think so, you can not see a CURRENT list, only can manage an allow/block list.
may be there exists a add-on/ for IE, I don't know, but checkout mozilla's Cookie Manager and you probably see what its good for ..
filefoldersAuthor Commented:
Thanks all for your input, however I didn't want to change browsers just wanted to change some setting from within IE.


Thanks for the code, this works well and I just have to change the number and run it.
filefolders, sometimes it might be better to write down personal preferences,
then you'll not see suggestions about better solitions for your problem ;-)
Anyway, hope you got it now, somehow ..
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.