Questions tagged [usersession]

81 questions
1
vote
1 answer

WTS_CONNECTSTATE_CLASS enumeration class

I have to determine what state the user session is in. i.e if the the user is logged on and active or if the user is not logged on. To do this im using the function WTSEnumerateSessions and then I am checking the WTS_SESSION_INFOwhich is return from…
CodersSC
  • 710
  • 2
  • 13
  • 29
1
vote
1 answer

how to correctly make cloud code request with parse?

I am attempting to make all my user sessions with Parse exclusive, meaning if a user is already logged in on a certain device in a certain location, if another device logs in with the same credentials, I want the previous session(s) to be…
John Durand
  • 1,934
  • 5
  • 22
  • 34
1
vote
2 answers

Parse.com Only one device session for a user. Android

I'm currently building an app that has Parse at its backend. I've realized that a user can log in to his account in multiple devices. Is there a way I could restrict this to only one device at one time? If so can you kindly explain the method.…
Chehanr
  • 81
  • 9
1
vote
3 answers

how to keep current user session active using parse?

I am attempting to keep the current user session active until the user decides to log out. What code i should i implement? and exactly where should it be implemented? the viewDidLoad, or viewWillAppear function of the root view? I have tried using…
Mike Strong
  • 940
  • 3
  • 13
  • 31
1
vote
1 answer

setting user session in laravel by user_name or user_id

I want to set user session in laravel, same as we can do it in core php using following code
Shahid Rafiq
  • 669
  • 1
  • 12
  • 27
1
vote
5 answers

How to read a session variable from a php file in JavaScript

There have been far too many questions on this subject but I still fail to understand. Case: Hyperlinked image OnClick of image: Check if session exists If session exist, open link If session does not exist, show login form onclick is calling a…
Sarah
  • 1,895
  • 2
  • 21
  • 39
1
vote
1 answer

Parse Database not cleared on logout Android

As the question says, I'm having a problem when logging out from parse. If I login to another account, the old data is still in the DB. My question is, do I need to clear it manually ? I mean, calling ParseObject.unpinAll() ? FYI, the app doesn't…
Leonardo
  • 3,141
  • 3
  • 31
  • 60
1
vote
1 answer

Launching programs as another user on Mac OS X

In a Mac OS X with more than one users , is there any API or piece of code that Run a process as another user in Objective C?
James C
  • 41
  • 6
1
vote
1 answer

Trying to interpret user session states on Windows OS

If I call the following API from a local service running on Windows 7: WTS_SESSION_INFO* pWSI; DWORD nCntWSI; WTSEnumerateSessions(WTS_CURRENT_SERVER_HANDLE, NULL, 1, &pWSI, &nCntWSI); and then go through all returned WTS_SESSION_INFO structs in…
ahmd0
  • 16,633
  • 33
  • 137
  • 233
0
votes
2 answers

ActionController::RoutingError (No route matches "/user_sessions/......)

I'm super new to Ruby on Rails. I'm trying to make an authentication system using Authlogic (following this tutorial). The error that I'm getting is right after I submit the login form: No route matches…
soroush
  • 23
  • 2
  • 6
0
votes
1 answer

Add User session infomation to HTTPContext

I am Having a User Class now i want to add that class to HTTPContext object so that each time i send a request I don't have to validate it
user998609
  • 21
  • 2
0
votes
0 answers

Windows ServiceAccount.LocalSystem can access a User session?

I am using Windows Service inside my EXE package. And I am trying to understand what the difference between these two codes: First code: this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem; Second…
Rougher
  • 834
  • 5
  • 19
  • 46
0
votes
0 answers

How can I display all active sessions of logged in users using django-user-sessions?

Please I need someone to help me out on the django-user-sessions, I have tried the documentation but it is not showing me the full active sessions of the login user. Please I need help can someone show me the example views and template on how it…
0
votes
2 answers

What's a user session in Firebase Crashlytics Event Report?

When Firebase Crashlytics tags a crash event with "Happened in the first second of the User's session". One obvious scenario is when the user clicks the App icon and the app crashed within 1 second. Could this also mean, When the user has put the…
Vikas Pandey
  • 1,115
  • 1
  • 15
  • 25
0
votes
0 answers

how to manage the user registerform and navigate to webview url and onsubmit of webview redirect to mobile Dashboard, managing usersession flutter?

how can i manage the user register from mobile side and navigate to webview url form and onsubmit of webview it redirect to mobile DahsboardScreen with managing user session in flutter programatically? curently i am able to navigate from mobile form…