Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Everyone

Can anyone please tell me how to clear cookie in firefox through VB script.
Posted
Comments
ZurdoDev 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

VBSCript only runs in IE. So, there's no connection between FF and VBScript at all.
 
Share this answer
 
Comments
ridoy 28-Aug-12 12:38pm    
exactly..+5
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.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900