2017-04-11
12:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Using Rsacookieapi.RSACookie from PHP
'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
0 Replies
