[thelist] Apache security and PHP sessions

Anthony Baratta Anthony at Baratta.com
Thu Nov 21 19:06:01 CST 2002


At 03:37 PM 11/21/2002, Alex Ezell wrote:
>Howdy all,
>I have an application that uses sessions to store the user info that it
>needs to display the correct pages. Right now, the access to these pages is
>handled with basic Apache <Directory> security directives. Is there any way
>to capture the username that the user uses to authenticate with Apache and
>store it in the PHP session?

Look for REMOTE_USER in the HTTP Headers.
--
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."




More information about the thelist mailing list