Removing Items from Cookie
-
Hi I m new to asp.net.I m using .net with vb.net. I hv a cookie in which items are added. For Example I hv 10 items added to cookie like router = 10, modem = 8, usb = 5, ..... Now I want to removie only usb from that cookie. How can I do that. Pls help me, its very urgent. Thanks in Advance.
-
Hi I m new to asp.net.I m using .net with vb.net. I hv a cookie in which items are added. For Example I hv 10 items added to cookie like router = 10, modem = 8, usb = 5, ..... Now I want to removie only usb from that cookie. How can I do that. Pls help me, its very urgent. Thanks in Advance.
coooooooooooooollllllllllllllllllMindddddddddd wrote:
I want to removie only usb from that cookie.
hello frnd try this
Dim mycookie As HttpCookie = New HttpCookie("example")'create object mycookie.Values.Add(" router", "10")'assign value mycookie.Values.Add(" modem", "8")'assign value mycookie.Values.Add(" usb", "5")'assign value mycookie.Values.Remove("usb")'remove cookie
-- modified at 1:10 Saturday 17th November, 2007 -
Hi I m new to asp.net.I m using .net with vb.net. I hv a cookie in which items are added. For Example I hv 10 items added to cookie like router = 10, modem = 8, usb = 5, ..... Now I want to removie only usb from that cookie. How can I do that. Pls help me, its very urgent. Thanks in Advance.
-
your display name is spoiling the alignment.
Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
Then ths s bug in codeproject website :p
-
Then ths s bug in codeproject website :p
I think its OK now. :laugh:
-
I think its OK now. :laugh: