03-14-05 07:48 AM
How did you launch the CGI program? Did it inherit the parent's environment
variables? Are you sure you logged in with a standard authentication scheme
(so IIS will populate the REMOTE_USER) and not a custom one (which depends
on the custom auth implementation as to whether REMOTE_USER is populated).
If the protected web page ran code and did not find REMOTE_USER, that would
be something wrong with IIS. But you are referring to code that is launched
by the web page, so it's completely up to the code you ran, at this point.
--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Alessandro" <Alessandro@discussions.microsoft.com> wrote in message
news:C375B62D-8B95-4C04-B325-817D3794A71B@microsoft.com...
Hi All,
I have the folllowing problem:
I access a protected web page and IIS asks me for the login/password. I log
in.
Then I starts, from that page, a cgi program that is not protected. This cgi
reads the environment variable REMOTE_USER using getenv. The getenv returns
null.
Do I do something wrong?
When REMOTE_USER is set?
--
Thanks,
Alessandro
[ Post a follow-up to this message ]
|