Nathan,
Instead of removing the cookies (I believe that just removes them from the
server memory and not the client) you should overwrite them on the client.
If Not Request.Cookies ("username") Is Nothing Then
Response.Cookie s("username") = ""
End If
Oh, and even an empty cookie may not be equal to "Nothing" because it is a
string you may need to test for "" instead.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"Nathan Sokalski" <nj********@hot mail.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
I am having trouble removing cookies that I created with my site. Here is
the code I am using to try and remove them:
If Not Request.Cookies ("username") Is Nothing Then
Response.Cookie s.Remove("usern ame")
If Not Request.Cookies ("password") Is Nothing Then
Response.Cookie s.Remove("passw ord")
Is there something I am missing here? Even after I do a Session.Abandon ()
the cookies still seem to be there. Is there another step that is
necessary? Thanks.
--
Nathan Sokalski
nj********@hotm ail.com
http://www.nathansokalski.com/