Programming Guide |
Redesignates a context global variable as a transient global
#include <smuweb.h>int sm_web_unsave_global(char *variable_name);
variable_name
- The name of the JPL global variable to remove from the save list.
Web
sm_web_unsave_global
redesignates the specified context global variable as a transient global, which is 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 context globals from application
proc undo_var()
call sm_web_unsave_global("pref_lang")
call sm_web_unsave_global("pref_textonly")
call sm_web_unsave_global("pref_maxrows")
sm_web_save_global, sm_web_unsave_all_globals