Servervariables different in ASP.NET

M

Mattias Vartiainen

I have a filter (c/c++) on a site that handles authentication. A user
logs in using a username and password, the ISAPI filter looks up the
username in a database and then maps the username to another username
that is equal for all users (IUSR_SOMEUSER).

Later I need the individual username that the user has entered in the
first place. In asp I can get it from Servervariables("REMOTE_USER")
but in asp.net Servervariables("REMOTE_USER") contains the new
username. Why isn't the servervariables the same in .net??

If I log in with username mv I get

in asp:
REMOTE_USER = mv
AUTH_USER = IUSR_SOMEUSER

but in asp.net:
REMOTE_USER = COMPUTER\IUSR_SOMEUSER
AUTH_USER = IUSR_SOMEUSER
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,220
Latest member
AugustinaJ

Latest Threads

Top