Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

USER_NAME information in apache enviroment

Status
Not open for further replies.

blrose

Programmer
Jul 12, 2001
9
US
Hi -

Can anyone tell me how or where the login name is stored after a sucessful login is accomplished using a .htaccess prompt.

We want to pass that login name to another program to use in
authenticating access to specific database records.

I believe what I'm looking for is the USER_NAME (USERNAME)and REMOTE_ADDR for the IP address.

I have run a test by signing into my site using a .htaccess prompt, then capturing my enviroment. The env has an entry for the REMOTE_ADDR however, USER_NAME did not appear in the list.

Do I need to configure apache to capture this information ? If so, please be as specific as possible. The .htaccess appears to be working fine ie .. it prevents anyone with the wrong password/login from gaining access to my site.

Any additional information or suggestions would be greatly
appreciated.

Bonnie


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top