Click to See Complete Forum and Search --> : how do you delete cookies based upon path


thechasboi
01-30-2007, 02:26 PM
How do you delete the cookies based upon path. I am seeing that the cookies are being changed but there are for some reason path cookies created, when initially I create the cookie with out a path. I am not aware of any part of my script that recreates the variable. Any one have any clues on why this might be happening? Thanks for the reply

russell
01-30-2007, 06:03 PM
cant actually delete cookies in ASP. set 'em to empty string.

while testing cookies, it's a good idea to change your browser settings to warn b4 all cookies. yes it's a pain in the backside to dismiss all those warnings, but u need to know what's going on.

thechasboi
01-30-2007, 10:55 PM
russel

Thanks for the reply. I will give that a try. I want to ask a question. My script is legacy but pure basic asp cookie code. I create cookies with no path and there is no other place these same cookies are created except for in this script. The funny thing is that I create a cookie called ID and artist with no path and after I delete the cookies and check to see if they are gone they are. I then traverse to the directory and all of a sudden there is a session there of both cookies in that path though. How in the world could this happen. It acts like it is logged in and the cookies do seem to be there but not all the features work. I actually think this is cause they are pathed to a specific directory. Well at any rate I am pretty sure I scoured those files to see no place where those two are created again. Any thoughts? Thanks for the reply.