Sun Java System Access Manager 7.1 C API Reference

am_web_postcache_insert()

Inserts POST data entry in the POST cache.

Syntax

#include "am_web.h"
AM_WEB_EXPORT boolean_t 
am_web_postcache_insert(const char *key,
                        const am_web_postcache_data_t *value);

Parameters

This function takes the following parameters:

key

Pointer to the POST data preservation key for every entry.

value

Pointer to the am_web_postcache_data_t data type.

Returns

This function returns one of the following values of the boolean_t enumeration (defined in the <am_types.h> header file):

B_TRUE

If the insertion was successful.

B_FALSE

Otherwise.