Click here to Skip to main content
12,693,693 members (29,906 online)
Rate this:
Please Sign up or sign in to vote.
See more: VBScript
Hi Everyone

Can anyone please tell me how to clear cookie in firefox through VB script.
Posted 28-Aug-12 6:55am
ryanb31 29-Aug-12 8:33am
Do you mean VB in an ASP page? Or do you actually mean VB Script? More details might be useful.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

VBSCript only runs in IE. So, there's no connection between FF and VBScript at all.
ridoy 28-Aug-12 12:38pm
lewax00 28-Aug-12 13:23pm
There's no reason you couldn't use VBScript to delete cookies from Firefox on your own machine. It's just a matter of deleting the right files.
Christian Graus 30-Aug-12 12:09pm
True, but then why would you use VBscript at all, instead of a real language ?
lewax00 30-Aug-12 12:18pm
A script makes much more sense for a simple task like that, and VBScript can be run on any Windows machine without additional software. Personally, I'd just do batch script, but there's no reason VBScript shouldn't work. Plus, I'm pretty sure such scripts can be easily distributed via things like group policy.
Christian Graus 30-Aug-12 12:22pm
Well, I don't know. I don't know where the files would live, or how much work it would be to find them. I'd never use VBScript to do this, b/c writing a C# console app is trivial compared to fighting with VBScript. I can see that some IT depts would want a way to do this automatically, but I don't see why they'd only need it for FF, in that case. So I think the question is still unclear.
lewax00 30-Aug-12 12:28pm
He may be more comfortable with VBScript, and already have a way for other browsers. But I do agree, the question isn't clear. And anyways, I don't know where those files are, I use CCleaner when I need to clean up my cookies.
code_done 31-Aug-12 11:35am
Hi All

Actually i need to use the code in another Functionality testing tool, and that tool supports only VB script.
Yes as said by lewax00 that can be possible by deleting all the cookies related to Firefox.

Thanks , I will try it out. if you have any other solutions please tell me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 28 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100