473,473 Members | 2,176 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

need remote_user servervariable

Cas
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
Jul 19 '05 #1
4 6913
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" <fh***@rt.sp> wrote in message
news:#J**************@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

Jul 19 '05 #2
Cas
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" <pv*@noyb.com> wrote in message
news:ep**************@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" <fh***@rt.sp> wrote in message
news:#J**************@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


Jul 19 '05 #3
"Steven Burn" <pv*@noyb.com> wrote in
news:ep**************@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" <fh***@rt.sp> wrote in message
news:#J**************@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 !
Jul 19 '05 #4
Cas
Thanks
"Rob Collyer" <we*******@webforumz.com> wrote in message
news:Xn**********************************@217.32.2 52.50...
"Steven Burn" <pv*@noyb.com> wrote in
news:ep**************@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" <fh***@rt.sp> wrote in message
news:#J**************@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 !

Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: puregin | last post by:
hi i use nt user authentication on our iis 5.0 webserver. user get a login popup for username/password when they connect to the website. i also use session handling which works fine. the session...
8
by: JustSomeGuy | last post by:
I need to write an new class derived from the list class. This class stores data in the list to the disk if an object that is added to the list is over 1K in size. What methods of the std stl...
4
by: Matt | last post by:
I'm trying to convert a site to ASP.Net and I noticed that when I try to use the Request.ServerVariable("REMOTE_USER") value with the ASPX page I get a generic value. If I use the same code on an...
0
by: Amitava Bardhan | last post by:
Request.servervariable("Logon_User") working perfectly well returning the NT userid on one asp page but returning an empty string on the other asp page though both the asp pages are in the same...
8
by: skumar434 | last post by:
i need to store the data from a data base in to structure .............the problem is like this ....suppose there is a data base which stores the sequence no and item type etc ...but i need only...
11
by: Alan Mailer | last post by:
A project I'm working on is going to use VB6 as a front end. The back end is going to be pre-existing MS Access 2002 database tables which already have records in them *but do not have any...
1
by: =?Utf-8?B?cmNsb3dzZXI=?= | last post by:
Everyone, I don't know if I'm putting this in the right group or not (sorry). I'm developing a website, using ASP VBScript, and I'm using Response.ServerVariable("cert_subject") to get...
1
by: bolatito | last post by:
How can I make use of thisi ASP instruction in trying to restrict access to a page. If Instr(Request.ServerVariable(HTTP_REFERER),"pagename.asp") The pagename is the name of the page that...
4
Claus Mygind
by: Claus Mygind | last post by:
How can I capture the REMOTE_USER via javaScript? I want to store the value as part of the record key.
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.