473,387 Members | 1,899 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Proggramatically delete cookies

Is it possible to programmatically delete cookies? Can anyone help me
with this...

Dec 14 '06 #1
3 2611
Yes. Client side script (JavaScript). But only cookies from your server
IIRC.
Peter

<ke*****@gmail.comwrote in message
news:11*********************@n67g2000cwd.googlegro ups.com...
Is it possible to programmatically delete cookies? Can anyone help me
with this...

Dec 14 '06 #2
In ASP.NET:

Response.Cookies["Name"] = null;

Or do you mean inside a winforms app? The cookies folder holds them
all, just delete the .txt files in there, or you can use the
System.Net.Cookies namespace.

ke*****@gmail.com wrote:
Is it possible to programmatically delete cookies? Can anyone help me
with this...
Dec 14 '06 #3
mr*********@googlemail.com schrieb:
all, just delete the .txt files in there, or you can use the
System.Net.Cookies namespace.
Do you mean Cookies-Class from System.Net Namespace ? If I'm not wrong
then you can't read local cookies with the Cookies-Class.
Dec 14 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Phil Powell | last post by:
I am having this problem: My PHP script will set a cookie, it's there in my /Cookies folder. I delete the cookie (I have to for testing purposes, the PHP script I run behaves according to this...
2
by: Dan | last post by:
I persist the login info using cookies so that a user doesn't have to login every time they come to our website, unless they previously logged out. Everything works OK on W98 SE, and Windows XP Pro...
2
by: phoenix | last post by:
Hello, I tried the following to delete the cookies Directory.Delete(Environment.GetFolderPath(Environment.SpecialFolder.Cookies ), true); but always get the message that "index.dat" is...
5
by: ad | last post by:
Hi, How can I delete the cookie in client?
4
by: itrahulsoni | last post by:
hi all, I want to delete the cookies that are set by the google personalize home page or when once i view the you tube video cookie is set I want it to delete programmatically so I am able to see...
4
by: Jon Slaughter | last post by:
I have developed a technique to add and remove cookies after output... wondering if there is something else like this out there? Jon
5
by: pbd22 | last post by:
Hi. I am having a hard time figuring this one out... I have a sign in page. in my sign in logic, the successful login uses forms authentication and assigns an HttpCookie for the site-wide...
14
by: vjayis | last post by:
Hi i m using cookies to store data in an form containing textfields and using the following codes., <?
7
by: cmrchs | last post by:
Hi, In Windows Vista: where does asp.net write its cookies? I use HttpCookie objCookie = new HttpCookie("nameCookie"); in Win2000 (and later) they used to be in C:\Documents and...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.