Trace:
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
jvx:server:lco:sessioncontext [2018/02/01 22:33] admin created |
jvx:server:lco:sessioncontext [2020/06/15 10:35] (current) cduncan [Additional examples] |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| SessionContext is an object available only at the server that enables access to session information as well as certain objects related to a session during the handling of a client request. | SessionContext is an object available only at the server that enables access to session information as well as certain objects related to a session during the handling of a client request. | ||
| - | == Example == | + | ==== Example ==== |
| - | We have developed an application that reviews all existing messages in an e-mail account and displays the number of messages. The request is initiated at the client by clicking a button. | + | We have developed an application that reviews all existing messages in an email account and displays the number of messages. The request is initiated at the client by clicking a button. |
| The call using a button is illustrated in [[jvx:client:gui:actions|Client Actions]] or [[jvx:communication:calling_server_action|Server Actions]] | The call using a button is illustrated in [[jvx:client:gui:actions|Client Actions]] or [[jvx:communication:calling_server_action|Server Actions]] | ||
| Line 52: | Line 52: | ||
| </file> | </file> | ||
| - | == SessionContext Life Cycle == | + | ==== SessionContext Life Cycle ==== |
| {{:jvx:server:lco:sessioncontext_lifecycle.png?nolink|}} | {{:jvx:server:lco:sessioncontext_lifecycle.png?nolink|}} | ||
| - | == Additional examples == | + | ==== Additional Examples ==== |
| SessionContext can also be used for the following: | SessionContext can also be used for the following: | ||
| - | * Access session properties (e.g. application name, username, client properties) | + | * Access session properties (e.g., application name, username, client properties) |
| * Request the name of the current action | * Request the name of the current action | ||
| * Access the server configuration | * Access the server configuration | ||
| * Use of the direct server connection | * Use of the direct server connection | ||
| * Add or remove objects related to a call | * Add or remove objects related to a call | ||
