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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:43:13+00:00 2026-05-13T19:43:13+00:00

I have a .Net service that uses SENS to detect when a user logs

  • 0

I have a .Net service that uses SENS to detect when a user logs on or off. I’m having two problems, though:

  1. Even though the service seems to be
    starting automatically, if there is
    only one user on the computer and
    that user doesn’t have a password
    (meaning windows will start right
    away), the log-in doesn’t seem to be
    getting detected. Is it possible
    that the service is getting started
    too late? If so, what are my
    options?
  2. I don’t seem to have a way to detect windows switches users. In other words, if I log in with person A, I can detect that. If I then switch users (meaning person A doesn’t log out) to person B, person B logs in and I detect that. But if I switch back to person A, no log-on has taken place, and I don’t know that the switch took place. Is there a way, via SENS, to catch these events. I seem to only be able to catch Display locks/unlocks, logging on/off, when the screensaver starts/stops, and when the shell starts. Is it possible to do more with SENS, or perhaps to detect when the user is switched using these operations? Or perhaps by some other technique?
  • 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-13T19:43:13+00:00Added an answer on May 13, 2026 at 7:43 pm

    ISensLogon2 gave me SessionDisconnect and SessionReconnect, which happen when the user is switched without logging off. I don’t have a technical way to solve the second problem, so I’m just circumventing it.

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

Sidebar

Related Questions

I have a .Net service that has begun to refuse to start - the
I have a .NET web-service client that has been autogenerated from a wsdl-file using
I have a multithreaded .NET Windows Service that hangs intermittently -- maybe once every
I have developed a VB.NET WCF service that recives and sends back data. When
I have a .net web-service hosted in IIS 6.0 that periodically fails with an
We have a service that has some settings that are supported only over net.tcp.
I have a WCF service that I have to reference from a .net 2.0
We have an encryption service that we've exposed over net. tcp. Most of the
I have a .NET 2.0 application that has recently had contributions that are Service
I have a .net project that has a web reference to a service. I

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.