Hi,
I'm hoping someone on this forum can help me.
I was wondering if it was possible to add/modify the authentication in the
headers before redirecting the client to a new url.
For example if you sent out these headers:
header('WWW-Authenticate: Basic realm="SomeReal m"');
header('HTTP/1.0 401 Unauthorized');
and then if the correct authorization was returned in
$_SERVER['PHP_AUTH_USER']
$_SERVER['PHP_AUTH_PW']
could you then modify those authentication values in the headers and then
redirect to a different url?
--
Larry Gillstrom
I'm hoping someone on this forum can help me.
I was wondering if it was possible to add/modify the authentication in the
headers before redirecting the client to a new url.
For example if you sent out these headers:
header('WWW-Authenticate: Basic realm="SomeReal m"');
header('HTTP/1.0 401 Unauthorized');
and then if the correct authorization was returned in
$_SERVER['PHP_AUTH_USER']
$_SERVER['PHP_AUTH_PW']
could you then modify those authentication values in the headers and then
redirect to a different url?
--
Larry Gillstrom
Comment