Questions tagged [usersession]

81 questions
0
votes
1 answer

Swift how to safe user login session with checkbox "Remember Me"

i have a question about my app that i develop, in my login screen i have this checkbox when the user check that box, his username(or in my case his phone number to login) will automatically safe in the textfield where if the user logout, his phone…
afi permana
  • 207
  • 3
  • 17
0
votes
1 answer

How to fix InvalidOperationException: Session has not been configured for this application or request

I am trying to store User Id in Session State like this. var userInfo = HttpContext.Session.GetString("UserId"); I get an exception on the above line. I have seen the fix for similar problem and most say that I need to call app.UseSession() before…
Kiran
  • 19
  • 6
0
votes
1 answer

SQL querty struggle - how to count user Logins per day for each user

I have in a Snowflake DB, a table of timestamped user transactions the form (time-stamp, user-email, event-name) as shown below: I would now like to get a count of User Login's per day, grouped by date, user as shown I've setup the following query…
0
votes
0 answers

node,chrome Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed

megerr when launching chrome in headlless mode : Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed I'm writing a script node express, when express receive a http request, the script node launch new chrome instance in…
Simone Bonelli
  • 411
  • 1
  • 5
  • 18
0
votes
1 answer

How do I save user session using SharedPreferences in Cloud Firestore when I'm not using Firebase authentication?

When a user registers in my Android app, their data is stored inside a collection, where the document ID is their email address which helps find a user. The password is stored inside the document as well. So when a user logins, their entered email…
user11134615
0
votes
0 answers

Identity Server 3: Allow concurrent user sessions with single session logout

I am currently having trouble with the identity server 3 and logouts with (single user) concurrent sessions. Situation: a user is allowed to login (to a mobile app) multiple times with a single account Expected behaviour: When the user performs a…
Mitm
  • 11
  • 2
0
votes
2 answers

PowerShell - User session management

I have this PowerShell script that logs off users with IDLE time greater that 1 hour: #Force script to run. Set-ExecutionPolicy Unrestricted -force #Check connected users and save output. quser|out-file…
0
votes
1 answer

C# ActiveDirectory get PrincipalContext with "Rights"

I have a small web server running ASP.NET MVC on it. The Server is running with User "abc" but the User "abc" do not have rights for "changes" in ActiveDirectory. So I have to pass the user login in the PrincipalContext with. using (PrincipalContext…
0
votes
0 answers

Can't set user session with Vue and Django

I have the Vue app and the Django rest framework api separately. One on localhost:8080 (vue app) and the rest api on localhost:8000. So, I created an APIView that is supposed to log the user in when they make a post request: class…
yierstem
  • 1,933
  • 5
  • 21
  • 42
0
votes
1 answer

how to maintain user session between 2 different web applications?

We have 2 websites, One is developed on Salesforce with logged in functionality where the logged in user gets his personalised content. The other website is Java application on Tomcat server with no logged in functionality. Both websites will be…
tech17
  • 1
0
votes
1 answer

how can i put time limit to domian user?

we are trying to limit domain session time,for example the domain user logon on any pc. and this user can use the pc only 2 hours. after 2 hours the user session logout. and next step same user logon to any pc only 2 times in the same day. It's…
Alren
  • 31
  • 8
0
votes
0 answers

User Session in Angular4

so i m making an online library app with angular !the user must log in every time he would like to buy a new item SO i m searching for a method that allowed me to store the user session in order to skip the authentication step every time he would…
Az Emna
  • 527
  • 2
  • 10
  • 26
0
votes
1 answer

Managing user authentication in a GAE application

What is the best way to manage a user session in a Google App Engine application? Ideally I'd like to keep my application stateless and not save any user related data in memory, however I'm also afraid to send user credentials of the network on…
PentaKon
  • 4,139
  • 5
  • 43
  • 80
0
votes
0 answers

schema user session nls_date_format in oracle

We are facing strange issue where nls_date_format is getting changed in a session, I want to track due to which part of code this is getting changed . Is there any Session level trigger which can capture changes in nls_date_format or is there a way…
0
votes
1 answer

Serialize dictionary to XML C#

I have a dictionary where I have to add an object while a User log on and need to remove the object while user log off in windows. I am also serializing the dictionary to xml. As I am new to C# as well as windows service I have some doubts. Here is…
S M
  • 3,133
  • 5
  • 30
  • 59