CURL to get/set cookies
    Adam D. Ruppe via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Wed Apr  1 07:33:54 PDT 2015
    
    
  
There's two ways, you can let curl handle it by setting a cookie 
jar file:
http://dlang.org/phobos/std_net_curl.html#setCookieJar
Make the HTTP object and set the jar on it before doing any 
requests. Then it will be done automatically on that object, 
saving to the file.
If you are manually reading the Set-Cookie header, you can also 
just use this method:
http://dlang.org/phobos/std_net_curl.html#setCookie
    
    
More information about the Digitalmars-d-learn
mailing list