websGetPassword | GoAhead WebServer API | GoAhead EMF |
Return the currently configured password for the entire web site
#include "webs.h"; char_t *websGetPassword();
none |
The websGetPassword procedure returns the decoded form of the current security password. The password is defined by calling websSetPassword. To use the password feature, the Security Handlermust be installed by calling websHandlerDefine for websSecurityHandler. This in done automatically in the GoAhead EMF. If you are using the GoAhead WebServer, this should be done in your main program. See main.c for examples.
Returns a pointer to a statically allocated string containing the current security password.
password = websGetPassword();