Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cookies 1

Status
Not open for further replies.

scohan

Programmer
Dec 29, 2000
283
US
Can cookies be stored anywhere or do they always get stored in the cookies directory?
 
Always stored in the cookies directory -- it has to be this way because it's the one part of the users' computers that you (the developer) have access to by default. All other areas of the users' hard drives are restricted.

And even then, you don't really have "access" per say. You can ask for a cookie, and the one that your site (or another friendly site) wrote to the user's computer is returned. It's a very restricted access.
penny.gif
penny.gif
 
Can I write an applet that would present the user with a list of cookies on their PC and allow them to delete any or all of them?
 
You can present the user with a list of the cookies that you have written, but you don't have access to the other ones on their computer.

There are sites that collaborate to share these cookies, and access to them, but it's a very dirty practice, and it's what gives cookies such a bad name. So just stick to the ones that you have 'legal' access to.

:)
paul
penny.gif
penny.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top