Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Removing Items from Cookie

Removing Items from Cookie

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelptutorial
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Khan Bangash
    wrote on last edited by
    #1

    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.

    P J 2 Replies Last reply
    0
    • K Khan Bangash

      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.

      P Offline
      P Offline
      ps srinivasan
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • K Khan Bangash

        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.

        J Offline
        J Offline
        John ph
        wrote on last edited by
        #3

        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.


        K 1 Reply Last reply
        0
        • J John ph

          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.


          K Offline
          K Offline
          Khan Bangash
          wrote on last edited by
          #4

          Then ths s bug in codeproject website :p

          K 1 Reply Last reply
          0
          • K Khan Bangash

            Then ths s bug in codeproject website :p

            K Offline
            K Offline
            Khan Bangash
            wrote on last edited by
            #5

            I think its OK now. :laugh:

            J 1 Reply Last reply
            0
            • K Khan Bangash

              I think its OK now. :laugh:

              J Offline
              J Offline
              John ph
              wrote on last edited by
              #6

              coolmindd wrote:

              I think its OK now.

              Thanks

              - Regards -
                 JON


              Life is not measured by the amount of breaths we take, but by the moments that take our breath away.


              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups