Click to See Complete Forum and Search --> : REMOTE_USER
Mark Sreeves
Oct 2nd, 2000, 07:08 AM
I've been playing with the REMOTE_USER on PWS and Netscape Enterprise Server but I'm not getting anything returned
PWS:
Request.ServerVariables("REMOTE_USER")
Enterprise:
ssjs_getCGIVariable("REMOTE_USER")
Is some magic setting required on the server(s) for these to work?
Ianpbaker
Oct 2nd, 2000, 08:11 AM
Hi mark
I had The same problem myself on IIS and found this solution
http://support.microsoft.com/support/kb/articles/Q150/8/25.asp
don't know whether it wll work in PWS though
hope it helps
Ian
Ianpbaker
Oct 2nd, 2000, 08:13 AM
sorry mark, just remembered that was for version 1 of iis not the current
Mark Sreeves
Oct 2nd, 2000, 08:28 AM
Ian,
I found that article earlier but I couldn't find out how to set:
BASIC (CLEAR TEXT) Password Authentication.
Ianpbaker
Oct 2nd, 2000, 08:33 AM
Yeah, unforunatley PWS uses the same engine As IIS but doesn't let you access any way near as much stuff as IIS. I'll carry on searching as see if I can come up with anything
Mark Sreeves
Oct 2nd, 2000, 08:45 AM
Thanks Ian but don't worry about it too much!
It is a very trival thing for my team members I was playing with. I've actally written it using SSJS on Netscape Enterprise Server but either method would do because I've got PWD running on port 80 and NES running on port 81 and I could just post an initial page from PWS to NES....
Ianpbaker
Oct 2nd, 2000, 08:45 AM
Hi again Mark
I think I have an awnser but it might not be correct
I just wrote a very simple asp page
<html>
<body>
<% = Request.ServerVariables("REMOTE_USER") %>
</body>
</html>
firstly I stuck it on my web server (IIS) and all works fine , then I put it on PWS and got the same problem as you. I think the reason of this is becuase PWS is purely an internal server on a network, so there is never going to be a remote user where as IIS is obviously a complete web server, so in my mind PWS knows about The remote user variable but doesn't use it as it doesn't need to.
Hope this helps
Ian
Mark Sreeves
Oct 2nd, 2000, 09:25 AM
Thanks Ian
I've sussed it now. I've found where to set the Password authentication thingy
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.