I have follwowing code on HRM application
include_once('CAS.php');
phpCAS::setDebug();
phpCAS::client(CAS_VERSION_2_0, "122.243.242.43", 443, 'cas',false);
phpCAS::setNoCasServerValidation();
phpCAS::forceAuthentication();
$userName = phpCAS::getUser();
If i commented all the cas code and then hard code the value as $userName = "temp" its working. when try to get the user name from cas server as $userName = phpCAS::getUser(); not working even i cant print $userName display nothing.
regards
roshan
remove the false arg form the above statment then ok