Programming Guide |
Redesignates all context global variables as transient globals
#include <smuweb.h>int sm_web_unsave_all_globals(void);
Web
- 0 Success.
sm_web_unsave_all_globals
redesignates all context global variables as transient globals, which are destroyed when Panther completes the screen's processing and generates HTML for the screen. Context global variables are created through sm_web_save_global. For more information about using JPL global variables in a Web application, refer to Chapter 7, "JPL Globals in Web Applications," in Web Development Guide.
// Remove all context globals from application
proc undo_var()
call sm_web_unsave_all_globals()
sm_web_save_global, sm_web_unsave_global