Jump to content

get username after login to server


RIRedinPA

Recommended Posts

This is kind of out of my realm so excuse any comments/questions that don't make sense. I am working on a internal site that will sit on a server which requires the user to use their Active Directory username and password to access. Once they authenticate the server will then load my page. Is there a way for me to get the username that they used to log in - I'll be using it to pull up their data stored in a MySQL db and configure the page for them. Thanks.

Link to comment
Share on other sites

No, that's the problem, the login window is being generated by the browser I assume by a request from the server? I thought of putting a page up with a form and storing the username through a session but then it reverses my question, how do I pass the username/password back to apache to authenticate - the site is going to be behind a https wall. I hope that makes sense, like I said, not my area of competence. You can't get on the server until you authenticate. So either way, I need to talk to apache.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.