# observe\_session\_context/3

Source: https://zotonic.com/docs/1443/observe_session_context-3

URI: https://zotonic.com/id/1443

Language: en



Refresh the context or request process for the given request or action

Called for every request that is not anonymous and before every MQTT relay from the client. Example: mod\_development uses this to set flags in the process dictionary.

Type:

[foldl](/id/doc_developerguide_notifications#notification-foldl)

Return:

`#context{}`

`#session_context{}` properties:

- request\_type: `http|mqtt`
- payload: `union`

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1443?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1443?language=en>)
