Sets the maximum number of cookies to be stored per domain. If the maximum is reached, older cookies are discarded. Setting nCookies to 0 disables cookie usage. The cookie database is created per user and kept in memory at run time only.
WebAPI.bdh
WebSetCookies( in nCookies: number ): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
nCookies | Maximum number of cookies |
dcltrans transaction TWebInit begin WebSetCookies(10); WebDumpSettings(); end TWebInit;
WebMulti01.bdf