network login id in asp

V

viki

HI,
when i try to use request.servervariable(login_user) it returns empty
in asp. i created a dll in vb using the apigetusername . when testing
this in vb , it retruns the network login id. But in asp it returns
the servername where the asp is running.

can anybody help me to solve this issue

Thanks,
VIKI
 
P

Patrice

Check first Request.ServerVariables("AUTH_USER") (in partiuclar note that
this is a constant string, not a variable name).

Turn on Windows authentication. When using "anonymous" authentication pages
are run under the default IUSR_<Machine> account...


Patrice
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top