This topic is locked

Windows Login

8/20/2011 18:58:57
PHPRunner General questions
T
Tempus_Erus author

Hi,
I have a program that currently requires a user to logon with the user name and password. Is there a way I can obtain the necessary windows logon details once user has logged onto windows?
example: user has logged onto their 'dekstop' at work, but now requires a further logon to a phprunner developed site. its this 'extra' logon I wish to avoid - through php if poss.
Any help and direction much appreciated.
TE

Sergey Kornilov admin 8/20/2011
T
Tempus_Erus author 8/21/2011



Check this article:

http://xlinesoft.com/phprunner/docs/implementing_single_sign_on.htm


Hi,
Yes I tried that and it didn't appear to work, would appreciate a walk through on this.
thanks in advance
TE

C
cgphp 8/21/2011

Try to echo the $_SERVER["REMOTE_USER"] var.

Sergey Kornilov admin 8/21/2011

There is no walkthrough. If Windows authentication is turned on in IIS then $_SERVER["REMOTE_USER"] variable will be populated and sample code will work.
Per Cristian's advise you need to make sure $_SERVER["REMOTE_USER"] variable is populated.