Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Deleting cookie name/value pairs


Message #1 by Darren Wogan <darren.wogan@s...> on Wed, 19 Feb 2003 10:56:12 -0000
Is it possible to delete a specific name/value pair from a cookie file
through script? 

The cookie file in question contains a number of name/value pairs, but I
want to remove only one or two.

The documentation seems to imply deleting a cookie name/value pair simply
involves setting the expiration date of the name/value pair to the past.
This does not seem to work however. Possibly this is because other cookie
name/value pairs in the file still have an 'in the future' expiration date.

The name of the cookie file seems to be system specified only, so I can't
abandon the old cookie file and start a new one. Unless I am wrong?

I am using IE 5 & 6 clients.





************************************************************************* 
This message contains privileged and confidential information intended 
only for the use of the recipient named above. Its contents do not 
constitute a commitment by Strategic Thought Limited ("Strategic 
Thought") unless separately endorsed by an authorised representative 
of Strategic Thought. 
 
Any use, dissemination, distribution, reproduction or unauthorised 
disclosure of this message is prohibited. If you receive this message 
in error, please notify the sender immediately and delete it from your 
computer systems. 
 
Any views expressed in this message are those of the individual sender 
and may not necessarily reflect those of Strategic Thought. 
 
Strategic Thought believes this e-mail and any attachments to be virus 
free. However, the recipient is responsible for ensuring it is virus 
free and Strategic Thought do not accept any responsibility for any 
loss or damage howsoever caused from use of this e-mail, attachments 
or contents. 
************************************************************************* 



  Return to Index