set_session_policy


Description:

[ Version ( since = "2.68" ) ]
public void set_session_policy (string domain, bool include_subdomains)

Sets a session policy for domain.

A session policy is a policy that is permanent to the lifetime of this's Session and doesn't expire.

Parameters:

this

a HSTSEnforcer

domain

policy domain or hostname

include_subdomains

true if the policy applies on sub domains