websValid | GoAhead WebServer API | GoAhead EMF |
Determine if the web server connection handle is still open
#include "webs.h" int websValid(webs_t wp);
wp | Web server connection handle |
The websValid procedure returns TRUE if the web server connection handle is valid. This is useful for code which runs after an ASP or Form procedure that may close the connection by calling websError.
Pointer to a statically allocated string. Do not call bfree.
if (websValid(wp)) { websWrite(wp, "More output"); }
Active Server Pages, Forms, websDone, websFooter, websHeader, websWrite