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. General Programming
  3. C / C++ / MFC
  4. Reading Cookies

Reading Cookies

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
5 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.
  • L Offline
    L Offline
    Liger_Zero_X
    wrote on last edited by
    #1

    Could you please help me on this one... I have to Read Cookies along with the Contents. How will I be able to do that?! What Class/Methods are Involve?! Thanks in Advance!!! :-D:-D:-D:-D:-D

    J M 2 Replies Last reply
    0
    • L Liger_Zero_X

      Could you please help me on this one... I have to Read Cookies along with the Contents. How will I be able to do that?! What Class/Methods are Involve?! Thanks in Advance!!! :-D:-D:-D:-D:-D

      J Offline
      J Offline
      Jose Cezar S Ynion
      wrote on last edited by
      #2

      Maybe this link will help: http://support.microsoft.com/default.aspx?scid=kb;EN-US;241492

      1 Reply Last reply
      0
      • L Liger_Zero_X

        Could you please help me on this one... I have to Read Cookies along with the Contents. How will I be able to do that?! What Class/Methods are Involve?! Thanks in Advance!!! :-D:-D:-D:-D:-D

        M Offline
        M Offline
        Michael Dunn
        wrote on last edited by
        #3

        Use InternetGetCookie() to get the cookie string for a particular URL. It looks like "name1=value1; name2=value2" so you just have to parse it and pull out the values. --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- "Linux is good. It can do no wrong. It is open source so must be right. It has penguins. I want to eat your brain."   -- Paul Watson, Linux Zombie

        L 1 Reply Last reply
        0
        • M Michael Dunn

          Use InternetGetCookie() to get the cookie string for a particular URL. It looks like "name1=value1; name2=value2" so you just have to parse it and pull out the values. --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- "Linux is good. It can do no wrong. It is open source so must be right. It has penguins. I want to eat your brain."   -- Paul Watson, Linux Zombie

          L Offline
          L Offline
          Liger_Zero_X
          wrote on last edited by
          #4

          How about getting all Cookies in the Cookies Directory?! im sorry, im a noob here... thanks again!!!:-D:-D:-D:-D:-D

          M 1 Reply Last reply
          0
          • L Liger_Zero_X

            How about getting all Cookies in the Cookies Directory?! im sorry, im a noob here... thanks again!!!:-D:-D:-D:-D:-D

            M Offline
            M Offline
            Michael Dunn
            wrote on last edited by
            #5

            Liger_Zero_X wrote: How about getting all Cookies in the Cookies Directory? Use FindFirstUrlCacheEntry(), and pass "cookie:" as the first parameter. --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- Pinky, are you pondering what I'm pondering? I think so Brain, but if we shaved our heads, we'd look like weasels!

            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