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
5
votes
0 answers

Enable autocomplete for only password forms in Google Chrome

Let's say I have a login form like this:
Google Chrome (and other browsers) are able to offer saving my email and password without any problems. Also Chrome autofills this kind of…
Umut Benzer
  • 3,476
  • 4
  • 36
  • 53
5
votes
1 answer

How to rename the table persistent_logins in Spring-Security

The default table name that manages remember-me authentication in Spring Security is "persistent_logins". Due to Database naming conventions, I need to rename this table "persistent_logins" to "T_PERSISTENT_LOGINS". Any help please.
Riadh
  • 1,088
  • 2
  • 12
  • 25
5
votes
3 answers

asp.net "Remember Me" cookie

I have implemented remember me option in my asp.net webform by using this, protected void LBtnSubmit_Click(object sender, EventArgs e) { if (this.ChkRememberme != null && this.ChkRememberme.Checked == true) { HttpCookie cookie = new…
ACP
  • 34,682
  • 100
  • 231
  • 371
5
votes
1 answer

How to make Android webview remember username and password?

Here with the code in Android Studio. I also add the html code that below the Android Studio code, using javascript to remember the username and password in cookies. It works in some android device only. I don'y know why. I would like to make it…
Eric Chong
  • 495
  • 1
  • 7
  • 21
5
votes
1 answer

Devise + Omniauth + remember_me

There seems to be some confusion on how to get remember me working with Omniauth. According to this wiki, you need to have the following in your OmniauthCallbacksController: remember_me(user) On the other hand, according to this issue, you just…
JPN
  • 632
  • 12
  • 24
5
votes
1 answer

How to programmatically logout with Spring Security Persistent Token Based RememberMe Services

Am using Spring Data REST and Spring Security in my project. AM using Persistent Token Based Remember Me services of Spring security to remember logged in users and I am trying to invalidate the session and remove data from repository and cookie for…
jAddict
  • 395
  • 3
  • 6
  • 18
5
votes
1 answer

Problem with Remember Me Service in Spring Security

I'm trying to implement a "remember me" functionality in my website using Spring. The cookie and entry in the persistent_logins table are getting created correctly. Additionally, I can see that the correct user is being restored as the username is…
Gerard
  • 4,818
  • 5
  • 51
  • 80
5
votes
1 answer

ASP.NET MVC 4 How does Membership "Remember me" work?

I'm using the standard membership feature in ASP.NET MVC 4. I have a login form that when the user logs in successfully, some user information is retrieved from the database and put in a Session variable which I use in certain parts of the…
Javier
  • 2,093
  • 35
  • 50
5
votes
3 answers

how to create a secure php login system, allowing for "keep me logged in" functionality?

I use a simple login system based on SESSION vars. Once the user logs in, a session var is set that tells my script the user is to be accepted in. I don't use any custom clientside cookie var. I would like to offer the option on the login screen…
pixeline
  • 17,669
  • 12
  • 84
  • 109
5
votes
3 answers

Zend Framework rememberMe() doesnt seem to remember me

My session seems to only be valid in the current window/tab. Also it seems to timeout quickly. Heres how I'm currently attempting to do it: This is in my login controller: $adapter = $this->getAuthAdapter($data); $auth =…
Brian
  • 953
  • 4
  • 15
  • 35
4
votes
1 answer

java servlet remember me option with cookies

I need to implement a simple remember me option in a java servlet with cookies, without using any advanced framework. First, at login, I create the cookie and send it in response to the browser (client). The value to be stored in the cookie is just…
Alina Danila
  • 1,683
  • 1
  • 24
  • 60
4
votes
1 answer

Remember Me - How long should be the duration

Just saw a site which said "Remember me for 3 weeks". Some of the email sites like Yahoo or Gmail offer 2 - 3 weeks as this duration. What would be an apt duration for a site which will be predominantly used by children ?
Joe
  • 14,513
  • 28
  • 82
  • 144
4
votes
1 answer

j_security_check vs Programmatic Security

I'm building a Web application using jsf, ejbs and jpa. I currently use form based j_security_check to handle authentication. I need to implement support for cookies ie "Remember me" option. Also I want to prevent brute force attacks. ie Lock a…
greenkode
  • 4,001
  • 1
  • 26
  • 29
4
votes
0 answers

OpenId connect authentication: are "Remember Me" cookies a security problem?

This question can be seen as a follow-up to: how refresh token should be saved . I have a native Windows app that uses keycloak for authentication with open id connect. To let the user log in, the app shows a web view that is directed to the login…
wra
  • 171
  • 5
4
votes
2 answers

How remember_token is generated by laravel automatically? Can we do the same in codeigniter?

I am new in MVC. Can anyone tell me where the function for remember_token is written in laravel? I saw in Blueprint and found this function: public function rememberToken() { return $this->string('remember_token', 100)->nullable(); } which is…
Tekraj Shrestha
  • 1,228
  • 3
  • 20
  • 48