Miko Posted April 22, 2009 Share Posted April 22, 2009 Hello, I was wondering if it is possible to recover the windows session? Let me explain, I'm building an intranet webapplication for our users and I would like that when the users that are "accessing" the web application with IE, that I could recover the Windows userID? So the users does not have to login in the webapplication again to have more access to other tabs? Is this possible? I know that I could work with login scripts and Cookies etc .. but this isn't what I want. Anyone an idea? Thanks Link to comment https://forums.phpfreaks.com/topic/155178-php-windows-sessions/ Share on other sites More sharing options...
taith Posted April 22, 2009 Share Posted April 22, 2009 the only things that php has access too... are what is sent to the server via the headers... and the windows login id is FAR from being sent... if this is for an internal server... i'd suggest sorting by ip address... but other then that.............. Link to comment https://forums.phpfreaks.com/topic/155178-php-windows-sessions/#findComment-816345 Share on other sites More sharing options...
tang Posted April 22, 2009 Share Posted April 22, 2009 I'm pretty sure it should be possible with some trickery if integrated auth is on but I don't know how you'd accomplish it. I think the code will be running as the windows user so it must be possible to look that up somewhere.... Anyone? Link to comment https://forums.phpfreaks.com/topic/155178-php-windows-sessions/#findComment-816353 Share on other sites More sharing options...
JonnoTheDev Posted April 22, 2009 Share Posted April 22, 2009 Would require some Active X component to enable integration with the Windows system. Link to comment https://forums.phpfreaks.com/topic/155178-php-windows-sessions/#findComment-816414 Share on other sites More sharing options...
tang Posted April 22, 2009 Share Posted April 22, 2009 No need for ActiveX, moodle does it with php: http://docs.moodle.org/en/NTLM_authentication Download an auth plugin from here: http://download.moodle.org/download.php/plugins/auth/ntlm.zip Link to comment https://forums.phpfreaks.com/topic/155178-php-windows-sessions/#findComment-816455 Share on other sites More sharing options...
JonnoTheDev Posted April 22, 2009 Share Posted April 22, 2009 No need for ActiveX, moodle does it with php Nice find. As long as they have an active directory & LDAP Link to comment https://forums.phpfreaks.com/topic/155178-php-windows-sessions/#findComment-816461 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.