Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Request object

Posted on 1999-07-23
Medium Priority
Last Modified: 2013-12-24
   Iam using visual interdev on workstation to develop an applicatin.My server is iis on on windows nt server.
   I have a problem. I trying to display the logon user name in the text box using command txtbox <%=Request.ServerVariables("LOGON_USER")%> I was not able to get the the user win nt logon name but its not giving any error and it does nothing.Please someone help me out
Question by:ragtan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

siabod earned 120 total points
ID: 1868212
If you go to the directory of your Localhost and then watch the permissions, you'll see that there is one group called EVERYONE, if this group has full access then LOGON_USER does not know who logged on and therefor is empty, if you have NT logons then remove the group EVERYONE (ALL USERS)
then your LOGON_USER will contain the NT user logged on.

Hope this helps you

Author Comment

ID: 1868213
Yeah,it worked for me when i deleted the everyone group from the local host.but there is one problem when i used netscape browser it was not able to extract the login user.
I don't know why it works fine with IE

If you find the solution pls mail me.

Expert Comment

ID: 1868214
Hmm... it's server sided, so NS should even know what's happening, have you forgotten to close a table or cell somewhere ? the closing of tags is very important in NS

Expert Comment

ID: 1868215
I think you should check your input tag. May be there is property NN doesn't support.

<input type="text" name="test" value="<%=......%>">


Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
Suggested Courses

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question