Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 421701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:00:32+00:00 2026-05-12T19:00:32+00:00

On a intranet ASP .NET (C#) page I am trying to retrieve the current

  • 0

On a intranet ASP .NET (C#) page I am trying to retrieve the current username.

From my local machine (Firefox 3.5) I can see results (from my local login) for the following possibilities:

<% Response.Write(User.Identity.Name); %>
<% Response.Write(HttpContext.Current.User.Identity.Name); %>
<% Response.Write(Page.User.Identity.Name); %>

However when I browse locally(IE8) or on the server (IE7) none of the above work for my terminal server login.

Is this a permission issue between IE and the webpage?

UPDATE1

Just tested the same page on the Terminal Server with Firefox portable and it also blocks the username.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T19:00:33+00:00Added an answer on May 12, 2026 at 7:00 pm

    IE – forgive me for the vagueness of this answer, I haven’t used it in a long time: there’s a setting in IE for enabling the passing of usernames. That may be off due to Group Policies.

    Thinking out loud…

    Firefox would normally not work if the site used native Windows security. So, is it using text-based logon (do you actually have to log on from within Firefox?)? That would explain Firefox working.

    Local browsing/server browsing: Normal browsing (internal browsing) normally doesn’t bounce off a proxy server. It may be the case where the TS is configured to know this and why credentials are being passed correctly (for example, can you browse through TS using IE – does it work? Same group policy settings apply.) I’ve seen installations where all traffic is pushed through a proxy server, then back to internal servers. Unfortunately, this tends to strip credentials and that may be happening here, too.

    What will help are the IIS logs. Do you see the failed IE traffic (403’d, I think)?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.