|
Posted by Gordon Burditt on 07/06/07 23:48
>Is it possible to *set* Apache credentials via PHP? I know you can
>read Apache credentials from PHP, but I want PHP to tell Apache that a
>session is authenticated.
You cannot set credentials in Apache. You set credentials in a browser,
which presents them to Apache (and eventually to PHP).
>Essentially, I want to do with an HTML form what Apache accomplishes
>with a pop-up window.
Apache does not do pop-up windows. Browsers do pop-up windows.
>Why? Because in addition to authenticating them, I need some other
>information, and having (1) a pop-up window that auths them to Apache,
>then (2) an HTML form to capture the additional info, would be awkward
>from a usability perspective.
Information you can set in a browser include cookies, parameters on a URL,
and indirectly you can use session data.
[Back to original message]
|