AnsweredAssumed Answered

Using Rsacookieapi.RSACookie from PHP

Question asked by Diego Alonso on Apr 11, 2017

'm trying to use Rsacookieapi.RSACookie COM object from a PHP site, to get the authenticated user with the method RSAGetUserName, but the IIS always reponds with HTTP 500 error.

 

The PHP sample code is:

 

<?php
try{
   $rsaObj1 = new COM("Rsacookieapi.RSACookie", NULL, CP_UTF8);
   if ($rsaObj1 != null){
      $authUser = $rsaObj1->RSAGetUserName();
      echo "good";
   }else{
      echo "Error";
   }
}catch(Exception $e){
   echo $e;
}

 

Could you provide some information of how get RSA authenticated user from PHP?

 

Thanks

Outcomes