Previous Topic: Extract HTTP Headers Using a Shell Script

Next Topic: Extract HTTP Headers Using PERL

Extract HTTP Headers Using NSAPI

This example shows an application that makes an Sun Java System API (NSAPI) call to retrieve a header. The name/value pairs exist in the request structure's header block.

The header is accessed as follows:

char * user;
user = pblock_findval("HTTP_SM_USER", rq->headers);


Copyright © 2010 CA. All rights reserved. Email CA about this topic