Questions tagged [usersession]

81 questions
9
votes
4 answers

Zero downtime/blue-green deployment of Single Page Application (SPA)

Yesterday together with the team we were discussing the possibility of using zero downtime deployments to support our single page application. While discussing it we identified one edge case for it. After user loads the page in his browser it cannot…
7
votes
1 answer

How to terminate duplicate user sessions with parse?

I want my PFSessions to be 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 to be terminated, with a message of an alert…
John Durand
  • 1,934
  • 5
  • 22
  • 34
5
votes
1 answer

WCF local only NamedPipe

Here's a simple example of my problem. I'm writing an application that self hosts a WCF service for communication only within the user's session. When multiple users run this application concurrently on a terminal services machine, all the users are…
Nathan
  • 153
  • 1
  • 6
3
votes
2 answers

How to track the very first time a controller is called in a user session (Ruby on Rails)?

I would like to check if a controller is being called for the very first time in the user's session. Is a class variable the right choice for this? Any good practice as to how to implement this check?
Biju
  • 820
  • 1
  • 11
  • 34
3
votes
3 answers

user session and displaying user information

I am doing a project in which to enter the admin page you need username and password. The session is created once username and password are corrected or redirected to some other page is anyone of them is incorrect. My code for this is:
Biplov Bhandari
  • 390
  • 3
  • 18
2
votes
1 answer

How to serve a Redis MQ requests that depends on User session in servicestack

I was looking for a better approach to solve the the following scenario. My API endpoints are currently using Usersession variables while processing the request. This becomes a problem when we have to queue the requests on Message Queue using Redis…
2
votes
0 answers

Family Tree class design, in Django

I am working on a Family Tree web app, with Django (which I am new to), and am deciding on how to design a FamilyTree class so that Users can be authorized to view/edit certain Trees only. As it stands, I have two abstract meta classes: Entity and…
2
votes
1 answer

How to retrieve an session attribute from another servlet?

I have to do a project for college, and i'm having some problems, if any of you could help me i'll be very grateful. The project it's an used products store, and until now we had to make a servlet for inserting products in a list that later will be…
2
votes
0 answers

AbstractController::ActionNotFound (The action 'show' could not be found for UserSessionsController):

I have some problems with my ruby app. I use: Ruby = 2.0 Rails = 3.2 When i try to logout, i has an error like this bellow. AbstractController::ActionNotFound - The action 'show' could not be found for UserSessionsController: actionpack…
agstwn21
  • 123
  • 1
  • 14
2
votes
1 answer

How to logoff a user when the workstation is locked?

I wrote a Windows application that comes with two modules: service and user-mode applications. The service implements its own scheduler and may log-off a user at a predefined time. For that I was using the following call that is triggered from my…
c00000fd
  • 20,994
  • 29
  • 177
  • 400
1
vote
1 answer

Logoff Disconnected user sessions based on IDLE time

I have written a PS script to find any user who has a disconnected RDP session on remote servers and I got help from user @Theo to get it finished. Now add on to my script, I want to Log off the disconnected users if the IDLE time is more than 1…
1
vote
1 answer

Empty SESSION Table in Keycloak H2 Database

I'm using Keycloak 15.0.2 with the default H2 database. I have logged in several users and can get active session in the Keycloak session tab, but in DB, I cannot see any entries in all tables related to sessions like USER_SESSION and…
b0w92
  • 55
  • 8
1
vote
2 answers

How to store sessions of a telegram bot user in my db

I wanna code a telegram bot, so when I gonna receive messages from a user I should know about last message he/she sent to me and in which step does he/she located. So I should store sessions of the user (I understood this when I searched) but I…
Iman Fakhari
  • 77
  • 2
  • 9
1
vote
2 answers

How not to expire user session cakephp

I'm developing an application in CakePHP for monitoring and I do not want my user session to expire because user needs to needs to see the control panel frequently even if he is not using the application. I have found many ways but I do not know…
user3953878
1
vote
1 answer

How to implement support for "web user sessions" in Delphi?

In Web Applications, the access to "web user session" information is very important, and from "Delphi 6" to "Delphi XE5", Delphi included the WebSnap library which has a component named SessionService to support the manage of "web user session"…
1
2 3 4 5 6