Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 15th, 2005, 12:06 PM
Registered User
 
Join Date: Nov 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Retrieving a domain UserName from the web page

Hi,
I am working on a campus network. I am trying to retrieve the username of the person using the page, everytime I try getting it I get an empty string. I am using this method:
Response.Write Request.ServerVariables("LOGON_USER")
I only get an empty string while using this method.
However when I try to get the remote address or the IP address I am successful using a similar procedure
Response.Write Request.ServerVariables("REMOTE_ADDR")

I dont know why i get an empty string for the User name in the domain.
can U please help
Thanks







Similar Threads
Thread Thread Starter Forum Replies Last Post
Read child page form value on different domain davenic Javascript How-To 9 December 2nd, 2007 09:38 PM
Domain Name & Web Hosting sohrabus ASP.NET 1.0 and 1.1 Professional 1 July 31st, 2006 08:36 AM
username/password creation of login page in asp undercurrent Classic ASP Basics 3 March 21st, 2005 08:38 PM
domain search page shine Classic ASP Professional 3 May 12th, 2004 08:13 AM
Domain forwarding with web.config? mcpine9 ASP.NET 1.0 and 1.1 Basics 8 March 16th, 2004 01:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.