Questions tagged [stay-logged-in]
39 questions
56
votes
4 answers
How to implement "Stay Logged In" when user login in to the web application
On most websites, when the user is about to provide the username and password to log into the system, there's a checkbox like "Stay logged in". If you check the box, it will keep you logged in across all sessions from the same web browser. How can I…

Thang Pham
- 38,125
- 75
- 201
- 285
11
votes
6 answers
Converting a Delphi application to run as a service - is it necessary?
I have a delphi app that logs data from various places and writes the data to a file. The app has quite an extensive GUI to allow display of the data, configuration of the options, etc.
One user has requested that the app be changed to that it can…

rossmcm
- 5,493
- 10
- 55
- 118
10
votes
2 answers
Stay Logged In Best Practices: How does a username in the cookie make it more secure?
This is a branch of another question:
What is the best way to implement "remember me" for a website?
The top answer is to implement this:
http://jaspan.com/improved_persistent_login_cookie_best_practice
A summary:
Use a random number as a Series…

Chris Moschini
- 36,764
- 19
- 160
- 190
5
votes
4 answers
Global OnLoggedIn event in ASP.net?
Is there a way to be notified when a user becomes logged in with an ASP.net website?
Note: A user can become logged in without visiting a "login page". If the "remember me" cookie exists, they can hit an arbitrary page and be logged in.
When a…

Ian Boyd
- 246,734
- 253
- 869
- 1,219
4
votes
3 answers
Global OnLoggedOut event in ASP.net?
Is there a way to be notified when a user becomes logged out with an ASP.net website?
Note: A user can become logged out without visiting or clicking a "logout" link.
When a user is logged out i want to fetch clear some session related…

Ian Boyd
- 246,734
- 253
- 869
- 1,219
3
votes
5 answers
How to keep user Logged-In always "Connected with Server"
I'm working on an App, where I wanted the user to keep logged-in means always connected to the server after successful login(just like facebook app). I tried to google this but did not found any correct logic of this. Many website suggests to use…
user6798817
3
votes
2 answers
Windows Identity Foundation Security Token Service can't stay logged in
I'm using the Windows Identity Foundation (WIF) Security Token Service (STS) to handle authentication for my application which is working all well and good. However I can't seem to get any long running login with the STS.
From my understanding I…

Chris Marisic
- 32,487
- 24
- 164
- 258
2
votes
1 answer
User showed as online when profile data accessed using Profile.GetProfile ASP.Net
I have a gridview with a list of my users (using the ASP.Net Membership and Profile providers) and I have managed to display all the fields I need. But the problem is that when I access the page that edits the profile of a user or I add a column to…

crispaul
- 21
- 2
2
votes
0 answers
Scheduled timer gets stuck in angular after switching to another window on browser
I am trying to implement Auto Logout feature after 20minutes of inactivity of user. Therefore, I used @ng-idle/core npm package inside my project to set user idle after 20minutes of inactivity and to display popup which asks either logout or stay…

Saurin Shah
- 29
- 1
2
votes
1 answer
How to keep user logged in in React app with a Django back-end
I have a very famous problem which I think everybody has at least once tackled. I want to persist the user logged-in in my react app even if the page is refreshed. I have read all the related questions and articles about how this can be done but…

RZAMarefat
- 133
- 8
2
votes
0 answers
LoggedInTemplate not showing when logged in (AnonymousTemplate shows up instead)
Recently I've tried adding user accounts to my app (simple web app, had the /Account folder by default).
It worked by default when using MSSQL but I needed MySQL. Followed some tutorials and changed to MySQL. All good so far, I can create…

Nick
- 21
- 3
2
votes
0 answers
Getting logged out of session when clicking links in nav bar for specific html pages in Python-Flask app
I have a question about redirects in my Python-Flask app found here: http://jordanirvine.pythonanywhere.com/
I have been making steady progress with this app as a new developer, but recently I am having trouble with certain aspects. If you log into…

Jordan Irvine
- 21
- 1
2
votes
2 answers
SPA App Azure B2C Authentication with MSAL. Keep user logged in
I have a SPA App (VueJS) which uses Azure B2C with MSAL to authenticate users. Authentication works just fine.
But what does not work is, that the user is not kept logged in.
As long as i use the app, everything works just fine. But when i start my…

VSDekar
- 1,741
- 2
- 21
- 36
2
votes
1 answer
tmux new-window ssh to remote host, then execute command and stay login
I use tmux on a jump box. I'm trying to automate certain common scenarios. How can I do the following?:
create new window
ssh to remote host
execute some commands on remote host (i.e.: cd and dot-slash something)
stay logged in
I can do it with…

a_arias
- 3,036
- 2
- 21
- 20
2
votes
1 answer
How to check site speed for logged in users
How do I measure site speed for logged in users? The tools like pingdom, google page speed etc, check site speed for guests. the reason I ask is this.
My site is fast for guests because I have page caching. For logged in users, I don't have the…

MultiDim
- 21
- 1