This topic is locked
[SOLVED]

 single sign on

11/8/2013 3:56:38 AM
PHPRunner General questions
ffrinai author

hi,

i have phprunner 6.2 build 16275 enterprise and i try to use single sign on but it doesn't work.
I put

if ($_SERVER["REMOTE_USER"])

{

$_SESSION["UserID"] = $_SERVER["REMOTE_USER"];

$_SESSION["AccessLevel"] = ACCESS_LEVEL_USER;

header("Location: menu.php");

exit();

}

in login page:Before process

but i always have the login page
if i try

echo "Your remote user: " . $_SERVER["REMOTE_USER"];

in login page:Before process
the variable $_SERVER["REMOTE_USER"] is empty

may someone help me?

thanks.

Admin 11/8/2013

Here is the article that can help:

http://stackoverflow.com/a/12100180/10969
In short - disable Anonymous Authentication in IIS, and enable Windows Authentication.

ffrinai author 12/12/2013



Here is the article that can help:

http://stackoverflow.com/a/12100180/10969
In short - disable Anonymous Authentication in IIS, and enable Windows Authentication.


the problem was php installation. I reinstall Php and now it work fine

Thanks