websGetRequestPassword GoAhead WebServer API GoAhead EMF

Synopsis

Return the password specified by the browser with the current request.

Prototype

 #include "webs.h" 

 char_t *websGetRequestPassword(webs_t wp); 

Parameters

wp Web server connection handle.

Description

The websGetRequestPassword procedure returns the password supplied by the browser. After a user has entered a username and password to access a secured web page, the browser will continue to provide that username and password with every request for web documents under that point in the URL hierarchy. websGetRequestPassword and websGetRequestUsername return decoded strings.

Return Value

Pointer to a statically allocated string containing the decoded password. Do not call bfree.

Example

 
path = websGetRequestPath(wp); 

Stability Classification

Stable.

See Also

websGetRequestUsername