How session parameters and functional options affect data access restrictions


<< Prev   Next >>

Scope: managed applications, ordinary applications.

To increase the data access performance, 1C:Enterprise creates a cache with data access restriction queries. Data access restrictions can use session parameters and functional options. The cached queries contain the values of session parameters and functional options.

However, when a session parameter or functional option value is modified, the query cache is removed, which significantly affects the query runtime.

To avoid that, in the SessionParametersSetting handler, set session parameter values on demand. Also, make sure that functional option values are modified as rare as possible.

See also:

<< Prev   Next >>

Icon/Social/001 Icon/Social/006 Icon/Social/005 Icon/Social/004 Icon/Social/002