[Top] [Prev] [Next] [Bottom]
[Contents]
SaRegSessFree
Registers a function to clean up old session data.
#include "SaRnHtml.h"
typedef int (*SaSessFree) SUTPROTO((void*));
int SaRegSessFree SUTPROTO((SaSessFree theFunc));
Arguments
A pointer to a cleanup function for session data.
Returns 0.
Registers a function to clean up old session data. The cleanup function is called repeatedly until all old session data has been accessed. An alternative is to cleanup the session data directly.
int MySessFreeFunc(void* data)
{
if(data != NULL)
free(data);
return 0;
}
SaRegSessFree(MySessFreeFunc);
- Note: Do not store any data obtained with SaMalloc or stored using SaAddToFree in session data.
See Also
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.