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

How to get and set values into cookie in ASP.NET MVC

I am trying to set my session object into cookie, so that I might not have login repeatedly. My code is like this : [HttpPost] public ActionResult Login(UserAccount user , [Bind(Include = "ID,NameOfSession")] SessionSave Sessions) { …
Safayat Zisan
  • 33
  • 1
  • 13
0
votes
5 answers

How can I log any login operation in case of "Remember Me" option?

I have an asp.net login web form that have ( username textBox - password textBox ) plus Remember Me CheckBox option When user login i do the below code if (provider.ValidateUser(username, password)) { int timeOut = 0x13; DateTime…
Amr Badawy
  • 7,453
  • 12
  • 49
  • 84
0
votes
0 answers

My iOS web-app users keep getting logged out

Sessions are working great on desktop and Android. I'm running a NodeJS app with: this in my : express-session with…
MalcolmOcean
  • 2,807
  • 2
  • 29
  • 38
0
votes
2 answers

Symfony2 difference between path

I have to setup a remember me login with my Symfony2 project and I have to setup my firewall in security.yml I did something like that remember_me: secret: '%secret%' lifetime: 604800 path: ^/ I was…
Fr0z3n7
  • 2,548
  • 2
  • 14
  • 15
0
votes
1 answer

How to improve remember password option when you have different logins for different subdirectories?

Browser remember password feature is nice one but it has a problem when you do have several logins for several sections, something like: / - one login /private/ - another login /admin/ - another login The problem is what you can do in order to…
sorin
  • 161,544
  • 178
  • 535
  • 806
0
votes
1 answer

Remember Me - Fetch UserName - MVC

I am working on ASP.NET MVC5 application and I want to implement RememberMe functionality. Here, when the user check RememberMe then, the username should be automatically fetch to username field, whenever the user go to the website again. I have…
KaviSuja
  • 450
  • 1
  • 9
  • 37
0
votes
2 answers

I want to implement a remember me functionality in my android code but I am not sure where to start

I want to implement a remember me functionality in my android code but I'm not sure where to start because my code is type of complex. I'm not sure where to put things so please help me I want to make phone no and password remember only when login…
Kashaf Ahmed
  • 67
  • 2
  • 10
0
votes
0 answers

Ionic-Application login solution with 'remember me' function

I am coding an ionic-framework application with login and 'remember me' function. I just need to now if it is safe to store the username and the password on the phone with: window.localStorage.setItem('loginMail',…
0
votes
0 answers

What is wrong with this persistent login[remember me] cookie?

The code below is a attempt to create a persistent login cookie. Now I am a amateur and not professional so this is the first attempt to have secure remember me cookie, When I login the identifier and token are stored in db and I can visit any…
bɪˈɡɪnə
  • 1,087
  • 2
  • 23
  • 46
0
votes
1 answer

Laravel Remember Me cookie not being auto filled input

I'm trying auth attempt for remember me functionality in login form ..i implemented ed everything regarding remember me..but my form is not auto fill the user_name and password..Every time i need to type user_name.But the cookies are set in browser…
John
  • 1
  • 1
0
votes
0 answers

Spring Security "Remember Me" redirection to login

I'm trying to implement remember me functionallity in my webapp with Spring Security. The cookie is established correctly (I've seen it in browser) and recognized by the server (my app finds the user in bbdd) but always I am being redirected to…
Gustavez
  • 1
  • 1
0
votes
2 answers

Xety CookieAuth and "Missing CSRF token cookie"

I have finally upgraded my app to cakephp 3.2 since I have solved another problem that I had with 3.1+. Long story short, I'm using Xety CookieAuth to let my users auto login when they come back to my website, and everything worked flawlessly with…
ToX 82
  • 1,064
  • 12
  • 35
0
votes
0 answers

Is it possible to use Spring Security 4 remember-me alongside a custom AuthenticatonProvider?

I'm using spring 4 with annotation based configuration and I'm trying to get the spring security 4 remember-me (PersistentTokenRepository) feature working alongside my custom AuthenticationProvider. At the official spring security documentation…
Oli
  • 1
  • 1
0
votes
0 answers

Is MD5 safe for remember me cookie **IF** I'm using bcrypt to hash their IP and storing in database

When user logs in with remember me checked, I create a random token using md5 for the cookie. md5(uniqid(rand(), true)); I append users IP address to their unique user_id and hash that using bcript. (I DO NOT ADD THIS TO THE COOKIE) I store the…
user1646329
0
votes
0 answers

Remember Me "Undefined Index" Error

I have created a page that allow for logging in. There are a couple of other pages used for connecting to database and redirting to another page after a successful login, etc. Anyway, there is a variable I have used called "$rememberme" which checks…
user5292845