Start using the error codes in SimpleSAML\Error\CannotSetCookie.
Both SimpleSAML_SessionHandlerPHP::setCookie() and SimpleSAML\Utils\HTTP::setCookie() throw the SimpleSAML\Error\CannotSetCookie exception. Depending on why the error was generated, set the error code in the exception accordingly.
Loading
Please register or sign in to comment