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. Cookies in MFC?

Cookies in MFC?

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
3 Posts 2 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.
  • S Offline
    S Offline
    soundman32
    wrote on last edited by
    #1

    I've written a program that interfaces to a web page (basically a POST followed by reading the response). I would have thought that if the web page sends a cookie, and then requests it back later, this would all be handled automatically. But it doesn't seem to work. Can someone point me in the direction of some code that might do what I want? Neil

    D 1 Reply Last reply
    0
    • S soundman32

      I've written a program that interfaces to a web page (basically a POST followed by reading the response). I would have thought that if the web page sends a cookie, and then requests it back later, this would all be handled automatically. But it doesn't seem to work. Can someone point me in the direction of some code that might do what I want? Neil

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Is MSDN article Q168864 of any help?


      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      S 1 Reply Last reply
      0
      • D David Crow

        Is MSDN article Q168864 of any help?


        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        S Offline
        S Offline
        soundman32
        wrote on last edited by
        #3

        Not really. It covers ISAPI, and I'm writing a client (in MFC). WHenever I read from the server I only get the data, not the headers. I presume there is a way to also get the headers and I can do cookie management myself, but I would have thought it would be automatic (or at least optionally automatic).

        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