Home > Archive > ASP > July 2004 > network login id in asp
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
network login id in asp
|
|
|
| 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
| |
| Patrice 2004-07-12, 3:56 pm |
| 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
--
"viki" <freetorn2002@yahoo.ca> a écrit dans le message de
news:deb17ac9.0407120853.7264ea80@posting.google.com...
> 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
|
|
|
|
|