Questions tagged [remember-me]

A way to store personal information to make it easier for a user to fill in forms or login to websites at a later time.

A "remember me" option is often used on login forms on websites. It is represented as a checkbox labeled "remember me" and stores either the username or a login token to re-login the user when visiting the website again.

525 questions
10
votes
1 answer

Spring-security: remember me token working only one time

I'm experiencing a really weird issue with spring security. The remember-me token seems to last for only one automatic login, after that, it stops working. 1. After login: 2. Then, I manually delete the JSESSIONID cookie and reload the page 3. I…
guidev
  • 2,695
  • 2
  • 23
  • 44
10
votes
3 answers

ExtJS: Login with 'Remember me' functionality

I'm trying to create a simple login window with the very common 'Remember me' functionality. The login validation is done AJAX style, thus the browser won't remember my input. My approach is to use the built-in state functionality, but how to use it…
Chau
  • 5,540
  • 9
  • 65
  • 95
10
votes
5 answers

ASP.NET Identity 2 Remember Me - User Is Being Logged Out

I am using Identity 2.1 in my MVC5 app. I am setting the isPersistent property of the PasswordSignInAsync to true to enable 'Remember Me': var result = await SignInManager.PasswordSignInAsync(model.Username, model.Password, true, …
Rhys Stephens
  • 889
  • 3
  • 20
  • 36
9
votes
4 answers

Create a symfony2 remember me cookie manually (FOSUserBundle)

Could somebody explain how you can manually create a remember me cookie in a controller? I want the users to stay logged in after they pressed the "register" button, without having to login with their credentials afterwards. I've tried to create a…
Jonas Wouters
  • 707
  • 1
  • 7
  • 22
9
votes
5 answers

How to implement remember me functionality for authentication in ReactJS when i only receive jwt token from backend api

I currently have to implement remember functionality for remembering my login info on my frontend website. How to implement remember me functionality for authentication in ReactJS when i only receive jwt token from backend API.
Bryan Lumbantobing
  • 604
  • 1
  • 7
  • 22
9
votes
5 answers

Remember me functionality in ASP.NET Form Authentication doesn't work

I'm using ASP.NET forms authentication for logging users into a website we're developing. Part of the functionality is a "Remember me" checkbox which remembers the user for a month if they check it. The code for logging the user in is as…
Michael
  • 913
  • 3
  • 10
  • 18
9
votes
1 answer

PHP: Remember Me and security?

During the time I've spent taking breaks from learning how PHP supports Unicode I've been delving into making my "Remember Me" cookies a bit more secure. However there are a few things I don't understand and a few of my own musings I'd like some…
Zydeco
  • 530
  • 1
  • 5
  • 11
9
votes
1 answer

Is it possible to implement "Remember Me" using jquery cookies?

Is it possible to implement "Remember Me" using jquery? If so, any suggestion how it can be done? EDIT: I am trying to remember username and password using jquery cookies.store cookies about username and password and read it the next time and…
ACP
  • 34,682
  • 100
  • 231
  • 371
9
votes
2 answers

Shiro: how does remember me work?

I've got few questions about Shiro's remember me feature: Why does Shiro generate different "remember me" token values for the same account on each login? Would a hacker be able to generate a "remember me" token for any account if I use the default…
fedor.belov
  • 22,343
  • 26
  • 89
  • 134
8
votes
3 answers

Is this a reasonable way to implement 'remember me' functionality

If a user logs into the site, and says 'remember me', we get the unique identifier for the user, encrypt this with RijndaelManaged with a keysize of 256 and place this in a httponly cookie with a set expiration of say.. 120 days, the expiration is…
meandmycode
  • 17,067
  • 9
  • 48
  • 42
8
votes
5 answers

Best practice for remember me feature

I am using 2 variables in cookie (7 day expiration) which is user id and hash. Hash is sha1 encode of user agent and user id. In this case some hacker can login who is know stolen cookie's browser. Which way should I follow or which practice is best…
mTuran
  • 1,846
  • 4
  • 32
  • 58
7
votes
2 answers

Catching Remember-Me Authentication Events in Spring Security

I'm developing an application in which I need to catch and respond to Authentication events to take appropriate action. Currently, I'm catching just fine the AuthenticationSuccessEvent Spring throws when a user logs in manually. I'm now trying to…
Chris Cashwell
  • 22,308
  • 13
  • 63
  • 94
7
votes
2 answers

What is the use of laravel remember me token?

I have a couple of problems with understanding Laravel remember me functionality. What is the connection between remember me functionality and remember_me column in users table ? Is there a timeout for this functionality? Thank you.
7
votes
1 answer

Devise + Omniauth + Rememberable

I followed the tutorial on the github devise wiki : https://github.com/plataformatec/devise/wiki/OmniAuth%3A-Overview So I've created a omniauth controller for the callbacks, but it is bypassing the normal sessions controller and so, the…
rnaud
  • 2,610
  • 32
  • 38
7
votes
1 answer

Spring RememberMe processAutoLoginCookie

I'm using Spring Security 3.0.0 and persistent RememberMe. When the server restarts and a browser window is still open, we need to be able to continue using the application without having to login - if remember me is selected. I'm getting a…
smk
  • 5,340
  • 5
  • 27
  • 41
1 2
3
34 35