Questions tagged [logoff]

106 questions
0
votes
0 answers

Force logoff users who were logged in via Fiori launchpad

We know that Fiori launchpad in frontend communicates with background by a stateless technology. But now there is a demand that all users have to be logged off forcefully, no matter whether these users were logged in by SAP GUI or Fiori launchpad.…
Chad
  • 9
  • 3
0
votes
0 answers

Sign Out, Restart and Shutdown Access Denied (5) when invoking from VB.NET

I created a Windows Form App with Visual Studio Community 2019 for my users. I added 3 buttons in my Form to Logoff (SignOff), Restart and Shutdown the Computer with a single click: . But when pressed the result is Access Denied (5): This is for…
0
votes
1 answer

Is there a way to make two sibling components have asynchronous knowledge of a state in ReactJS?

I have two components: NavBar, and SignUp. In my SignUp component, I keep track of whether a user is currently logged in or not via a state variable. Depending on the above state variable from SignUp, my NavBar component should change (ex. the "sign…
0
votes
2 answers

User session timeout force logoff

I have been doing a little research on how to make a script using vbs or batch to set a session time limit for users logging onto a specific set of computers linked through Group Policy. I am not familiar with log off or timed scripts, I can make…
0
votes
1 answer

How to count the time a Windows users is logged in (VC++)

I am writing a Windows service for doing Parental Control (Visual C++). I am having trouble with the following: how to count the time a Windows user has been logged on today (time measured in hours) how to trigger log-off from the user Windows…
0
votes
2 answers

Script to Log Off Specific Disconnected User via PS

I am currently working on a script to identify disconnected sessions X amount of days old, from a specific user account across the domain. We have a tool in place which will be able to run this script across all selected machines, so there is no…
AndyB
  • 15
  • 4
0
votes
0 answers

Automatically logout off web page Aurelia MVC5 authentication on ExpireTimeSpan

I have an MVC5 ".Net Framework 4.6.2" web sever with Aurelia SPA that works perfectly fine. What I am looking to do, is to extend my authentication to auto-logout the user after a period of inactivity. With the CookieAuthenticationOptions setup as…
0
votes
2 answers

Do you need XSRF/CSRF token for a logoff request?

What would be the security loophole if a logoff request is not validated with XSRF/CSRF token?
Ming Zhu
  • 272
  • 4
  • 13
0
votes
0 answers

Auto logout user in db

I'm working on a website, and I'm trying to archive a "logout" in my SQL DB. My plan, and what I got already. The user is logging in, the normal way: username and password. It works. There is a users_login_state table in my SQL DB, and when a user…
0
votes
3 answers

How can I wait on a thread to finish before windows logoff

I have written an WPF application which does some processing on the background. When the application closes, I want to wait until the processing is finished before the process stops. This code runs perfectly when I close the application by closing…
DesDesDes
  • 139
  • 2
0
votes
0 answers

win32 application, exit code, suggest user to logoff and logon

Looking in the win32 system error codes, there are for example 1641 and 3010 to report a Windows restart. ( you can read the application exit code, from Dos shell, with the variable %ERRORLEVEL% ) Is there a code to report the user to logoff or…
Massimo
  • 3,171
  • 3
  • 28
  • 41
0
votes
1 answer

Forcing a logoff from a Joomla admin session

In Joomla! 3.6, we're trying to force a user to the login screen from the admin section if their session has expired, but without any user input. By default, Joomla! will send people to the login screen if they attempt to load a page after their…
0
votes
2 answers

RDS User logoff Script Slow

With the help of the several online articles I was able to compile a powershell script that logs off all users for each of my RD Session hosts. I wanted something to be really gentle on logging off users and it writing profiles back to their…
0
votes
1 answer

ASP.NET MVC 5 LogOff Issue that only works for one session

My LogOff action only works for the first session - other sessions from other browsers on same computer can not log out. Also, the LogOff action is not called when the request has been cached by server. This is my LogOff…
0
votes
1 answer

ASP.NET MVC4 LogOff doesnt work

first of all im a newbie in ASP.NET and so sorry if this question is stupid! i have created a login system using session variables if the username/password match the database data ! The problem is that while im able to login i cant logout // …