Hi,

I have an intranet application running on windows 2000 server with IIS 5.0,
but there is no domain. The users use workstation windows 2000 and log on
locally. I need the logon of the users of our LAN in the application, so i
did:
lo=request.servervariables("remote_user"), but it's empty.
I tried all of them with this:
<% for each a in request.servervariables %>
<p>
<% = a %>
<% response.write(" ") %>
<% response.write(request.servervariables(a)) %>
<p>
<%next%>

and i saw that 'logon_user' also was empty.

Must there be a domain defined and must the users logs on that domain in
order to use 'remote_user' or 'logon_user'?

Thanks again
Cas

Re: need remote_user servervariable by Steven

Steven
Mon Jul 19 10:44:06 CDT 2004

Change

lo=request.servervariables("remote_user")

to

lo=request.servervariables("REMOTE_ADDR")

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!


"Cas" <fhffh@rt.sp> wrote in message
news:#Jiy6WabEHA.2944@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> I have an intranet application running on windows 2000 server with IIS
5.0,
> but there is no domain. The users use workstation windows 2000 and log on
> locally. I need the logon of the users of our LAN in the application, so i
> did:
> lo=request.servervariables("remote_user"), but it's empty.
> I tried all of them with this:
> <% for each a in request.servervariables %>
> <p>
> <% = a %>
> <% response.write(" ") %>
> <% response.write(request.servervariables(a)) %>
> <p>
> <%next%>
>
> and i saw that 'logon_user' also was empty.
>
> Must there be a domain defined and must the users logs on that domain in
> order to use 'remote_user' or 'logon_user'?
>
> Thanks again
> Cas
>
>



Re: need remote_user servervariable by Cas

Cas
Mon Jul 19 12:47:42 CDT 2004

Hi,

thanks for replying, but
request.servervariables("REMOTE_ADDR") gives the local IP of that computer
and not the logon of the user...



"Steven Burn" <pvt@noyb.com> wrote in message
news:epUu2dabEHA.3096@tk2msftngp13.phx.gbl...
> Change
>
> lo=request.servervariables("remote_user")
>
> to
>
> lo=request.servervariables("REMOTE_ADDR")
>
> --
>
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
>
> "Cas" <fhffh@rt.sp> wrote in message
> news:#Jiy6WabEHA.2944@TK2MSFTNGP11.phx.gbl...
> > Hi,
> >
> > I have an intranet application running on windows 2000 server with IIS
> 5.0,
> > but there is no domain. The users use workstation windows 2000 and log
on
> > locally. I need the logon of the users of our LAN in the application, so
i
> > did:
> > lo=request.servervariables("remote_user"), but it's empty.
> > I tried all of them with this:
> > <% for each a in request.servervariables %>
> > <p>
> > <% = a %>
> > <% response.write(" ") %>
> > <% response.write(request.servervariables(a)) %>
> > <p>
> > <%next%>
> >
> > and i saw that 'logon_user' also was empty.
> >
> > Must there be a domain defined and must the users logs on that domain in
> > order to use 'remote_user' or 'logon_user'?
> >
> > Thanks again
> > Cas
> >
> >
>
>



Re: need remote_user servervariable by Rob

Rob
Mon Jul 19 13:39:46 CDT 2004

"Steven Burn" <pvt@noyb.com> wrote in
news:epUu2dabEHA.3096@tk2msftngp13.phx.gbl:

> Change
>
> lo=request.servervariables("remote_user")
>
> to
>
> lo=request.servervariables("REMOTE_ADDR")
>
> --
>
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
>
> "Cas" <fhffh@rt.sp> wrote in message
> news:#Jiy6WabEHA.2944@TK2MSFTNGP11.phx.gbl...
>> Hi,
>>
>> I have an intranet application running on windows 2000 server with
>> IIS
> 5.0,
>> but there is no domain. The users use workstation windows 2000 and
>> log on locally. I need the logon of the users of our LAN in the
>> application, so i did:
>> lo=request.servervariables("remote_user"), but it's empty.
>> I tried all of them with this:
>> <% for each a in request.servervariables %>
>> <p>
>> <% = a %>
>> <% response.write(" ") %>
>> <% response.write(request.servervariables(a)) %>
>> <p>
>> <%next%>
>>
>> and i saw that 'logon_user' also was empty.
>>
>> Must there be a domain defined and must the users logs on that domain
>> in order to use 'remote_user' or 'logon_user'?
>>
>> Thanks again
>> Cas
>>
>>
>
>
>

Even better....

Set up an account for each user on the webserver....
next, disable anonymous access...

Then, when you hit the site, it wants a user / pass!

--
Robert Collyer
www.webforumz.com
Free Web Design and Development Help, Discussions, tips and Critique!
ASP, VB, .NET, SQL, CSS, HTML, Javascript, Flash, XML, SEO !

Re: need remote_user servervariable by Cas

Cas
Tue Jul 20 02:18:51 CDT 2004

Thanks


"Rob Collyer" <webforumz@webforumz.com> wrote in message
news:Xns952BC845C8D16webforumzwebforumzco@217.32.252.50...
> "Steven Burn" <pvt@noyb.com> wrote in
> news:epUu2dabEHA.3096@tk2msftngp13.phx.gbl:
>
> > Change
> >
> > lo=request.servervariables("remote_user")
> >
> > to
> >
> > lo=request.servervariables("REMOTE_ADDR")
> >
> > --
> >
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group
> > www.it-mate.co.uk
> >
> > Keeping it FREE!
> >
> >
> > "Cas" <fhffh@rt.sp> wrote in message
> > news:#Jiy6WabEHA.2944@TK2MSFTNGP11.phx.gbl...
> >> Hi,
> >>
> >> I have an intranet application running on windows 2000 server with
> >> IIS
> > 5.0,
> >> but there is no domain. The users use workstation windows 2000 and
> >> log on locally. I need the logon of the users of our LAN in the
> >> application, so i did:
> >> lo=request.servervariables("remote_user"), but it's empty.
> >> I tried all of them with this:
> >> <% for each a in request.servervariables %>
> >> <p>
> >> <% = a %>
> >> <% response.write(" ") %>
> >> <% response.write(request.servervariables(a)) %>
> >> <p>
> >> <%next%>
> >>
> >> and i saw that 'logon_user' also was empty.
> >>
> >> Must there be a domain defined and must the users logs on that domain
> >> in order to use 'remote_user' or 'logon_user'?
> >>
> >> Thanks again
> >> Cas
> >>
> >>
> >
> >
> >
>
> Even better....
>
> Set up an account for each user on the webserver....
> next, disable anonymous access...
>
> Then, when you hit the site, it wants a user / pass!
>
> --
> Robert Collyer
> www.webforumz.com
> Free Web Design and Development Help, Discussions, tips and Critique!
> ASP, VB, .NET, SQL, CSS, HTML, Javascript, Flash, XML, SEO !