写:
AddHeader(pCtxt,"Set-Cookie:user=aa;expires=...\r\n");读:
char strCookie[256];
DWORD dwLen;
pCtxt->GetServerVariable("HTTP_COOKIE",strCookie,&dwLen);
// strCookie应该为: user=aa
AddHeader(pCtxt,"Set-Cookie:user=aa;expires=...\r\n");读:
char strCookie[256];
DWORD dwLen;
pCtxt->GetServerVariable("HTTP_COOKIE",strCookie,&dwLen);
// strCookie应该为: user=aa
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货