Win32 HTTP Server Cookie RRS feed

  • Question

  • Hi, i want write a basic HTTP Server. But  i can't cookies serves.
    i don't know HTTP1.1 cookie protocol very well.
      s.SendLine(std::string("Date: ") + asctime_remove_nl + " GMT");  
      s.SendLine(std::string("Server: ") +serverName);  
      s.SendLine("Connection: close");  
      s.SendLine("Content-Type: text/html; charset=ISO-8859-1");  
      s.SendLine("Content-Length: " + str_str.str());  
      s.SendLine("Set-Cookie: "+req.value_+"="+req.username_);  
    What can i do for the cookie ptotocol ?
    Saturday, December 13, 2008 12:10 AM



    Hello , 

    Thank you for your post!  I would suggest creating a new thread for your question in the forum located here:  (http://forums.asp.net/).

    Hope that would be helpful.

    Have a great day!

    Thanks & regards,

    Ashawani Tier 2 Application Support Server and Tools Online Engineering Live Services Team
    Tuesday, December 30, 2008 6:36 AM