Programming Guide



sm_web_unsave_all_globals

Redesignates all context global variables as transient globals

#include <smuweb.h>
int sm_web_unsave_all_globals(void);

Environment

Web

Returns

Description

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.

Example

// Remove all context globals from application
proc undo_var()

call sm_web_unsave_all_globals()

See Also

sm_web_save_global, sm_web_unsave_global