Programming Guide



sm_web_unsave_global

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.

Environment

Web

Returns

Description

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.

Example

// 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")

See Also

sm_web_save_global, sm_web_unsave_all_globals