how to clear cookies for firefox on browser close


First off, I'm working with ASP .net and VB.

I'm wondering if there is a way to clear cookies for firefox when closing the browser. I haven't set an expiry date for the cookies so they should technically be destroyed when the browser is closed.

This is the case with IE7, IE8, Safari and Chrome. However, it is not the case with Firefox.

My question is: is there a way to clear the cookies for firefox on browser close?

Who is Participating?
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.

Go into the preferences and select the privacy tab

Look for Firefox Will: <drop down>
Select use Custom settings from the drop down

Near the bottom put a check mark in Clear history when firefox closes then click the settings button to the right of that.

In there you can select what is cleared when the browser closes.
1. Select Tools from the Menu Bar of <Alt+T>
2. Select Options <Alt+O>
3. Select the Privacy Tab from the Firefox Options Menu Bar (the one with the mask icon)
4. Verify or change the following settings in the History box of the Privacy Options page:
4a. FireFox Will: - this drop down box should be set to "Use custom settings for history"
4b. Keep until: - this drop down box should be set to "I close Firefox"
5. Click 'OK' to accept and exit the options menu

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
lino_evolutionAuthor Commented:
thanks guys!
oh. So you selected ASP.NET and VB.NET for fun right? Or would you ask each of the users of your website to manually clear the cookies?
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
Web Browsers

From novice to tech pro — start learning today.