Sun Java System Access Manager 7 2005Q4 C API Reference

am_web_create_post_preserve_urls()

Constructs dummy post URL, action URL and unique key.

Syntax

#include "am_web.h"
AM_WEB_EXPORT post_urls_t *
am_web_create_post_preserve_urls(const char *request_url);

Parameters

This function takes the following parameter:

request_url

The request URL for POST in the HTTP request.

Returns

This function returns post_urls_t * with one of the following value:

post_urls_t

Data structure that contains Dummy redirect URL, POST destination URL and POST preservation key.

Details

Dummy redirect URL is filtered by web server SAF to identify POST preservation redirects from general redirects. All three of these variables are required for POST preservation.