Defines whether the client has granted or deined permission for a particular feature (eg: sessions). The only permission defined by default is the session permission (configurable in the site properties). However, the template developer may use this mechanism for their own purposes as well.
The permissions defined by this method will be stored in the permissions cookie, which may be read and/or modified by client-side javascript.
If none of the expiration clauses are specified, the permission expiration date will default to 1 year in the future.
Remember that the expiration date specified here is for the permission, not for the effects of the permission. In the case of sessions, the expiration date defines how long the user has granted permission to have a session, regardless of the number or duration of sessions during that timeframe.
If the permission has a value, the value will be stored along with the permission regardless of whether the permission has been allowed or denied.
Permissions will never expire in the middle of a session - if a permission would be set to expire in the middle of a session, it will automatically be extended until the end of the session to prevent odd mid-session permission change bugs.
set_client_permission deny
Copyset_client_permission by reference
Copyset_client_permission third_party_login
Copy