#!/bin/ch /* Copyright (c) 2001 by SoftIntegration, Inc. All Rights Reserved */ #include int main() { class CCookie *pck; class CResponse Response; class CRequest Request; int i, count; Response.begin(); Response.title(L"Test of Request.getCookies"); printf("

Test of Request.getCookies


\n"); //get Cookie count = Request.getCookies(&pck); for(i=0; i < count; i++) { fputws(pck[i].getName(), stdout); printf(" = "); fputws(pck[i].getValue(), stdout); printf("
\n"); } Response.end(); }