#!/bin/ch /* Copyright (c) 2001 by SoftIntegration, Inc. All Rights Reserved */ #include int main() { class CResponse Response; int expires_def, expires_cur; // get the default value of the Expires expires_def = Response.getExpires(); // put the value of the Expires as 10 minutes Response.setExpires(10); //get current value of the Expires expires_cur = Response.getExpires(); Response.begin(); Response.title(L"Test of Response.setExpires and Response.getExpires"); printf("

Test of Response.setExpires and Response.getExpires


\n"); printf("The default value of the Expires is : %d minutes
\n", expires_def); printf("The current value of the Expires is : %d minutes
\n", expires_cur); Response.end(); }