|
|
|
WADELIA |
|
|
|
|
(I/B) (C) |
|
Section for use
All
Syntax
DELETE_CTX ContextKey ContextLevel
ContextKey |
→ |
AlphanumConstant | AlphanumVariable |
|
|
|
ContextLevel |
→ |
'REQUEST' | 'SESSION' | 'GLOBAL_SESSION' | 'APPLICATION' |
Description
This instruction removes the information saved in the ContextKey key from the implicit Request, Session or Application object (according to the ContextLevel context level).
In protected mode, the 'SESSION' context level applies tot he Web pseudo-session and the 'GLOBAL_SESSION' context level applies to the Web session that "hosts" all the pseudo-sessions. Values stored at 'GLOBAL_SESSION' level are accessible from all the Web pseudo-sessions, whereas values stored at 'SESSION' level are not.
Important: You must match the case for the value of the ContextKey.
Example
DELETE_CTX 'ClientVal' 'Session'
or
KEY_VAR = 'ClientInfo'
DELETE_CTX KEY_VAR 'Session'
See also the list of 4GL instructions by topic