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 8628841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:39:24+00:00 2026-06-12T08:39:24+00:00

I am developing a website with a time-clock system and i understand if the

  • 0

I am developing a website with a time-clock system and i understand if the user is running the site in my network by getting his ip:

System.Web.HttpContext.Current.Request.UserHostAddress

The problem is if the user runs the website from home by connecting his computer to another computer which is in his office.

I need to detect if it is a remote desktop connection or not.

I tried both HttpContext.Current.Request.IsLocal and System.Windows.Forms.SystemInformation.TerminalServerSession but these will return both false if I run the published website in a Remote Desktop Connection. They work fine only when I build the website locally.

Any ideas how to deal with this situation?

  • 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-06-12T08:39:25+00:00Added an answer on June 12, 2026 at 8:39 am

    You can’t. The client’s browser has no way of knowing whether it’s being accessed locally or not, so there’s no way that it can tell you.

    More precisely, there is no mechanism specified by browser standards or de facto standards by which the browser detects whether or not the current session is remote, and forwards that information to the server.

    I’m sure you can write a proof of concept browser or browser plugin that will do what you need, and mandate that all accesses to your web site be through this particular program, but it is insecure and will likely annoy your users.

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

Sidebar

Related Questions

I'm developing a real time website using socketstream and backbone.js, everything else was just
When developing ASP.NET websites (using VB.NET web forms) - a lot of my time
I am developing a website in which a cookie is set when the user
I am developing a website that has two back to back web broadcasts. I
I am developing a website which needs to contain functionality in which the user
I am developing a Magento Website and I am getting an error in IE7+8
I am using cakephp 2.0 for developing a website. Site will contain only 2
I'm developing a website on my local server for testing. Every time I make
I'm developing website where I need to execute one code at particular time. Which
I'm developing a website that when a user/member logins into the website for the

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.