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

is $_SERVER['HTTP_USER_AGENT'] suitable for remember me table?

I'm just trying to make it a little more secure work for a user to use a stolen cookie. I've read a post Is it possible for $_SERVER['HTTP_USER_AGENT'] to not be set? that say $_SERVER['HTTP_USER_AGENT'] might not be sent by user, the scenario is…
Anonymous
  • 1,405
  • 4
  • 17
  • 26
0
votes
1 answer

TokenbasedRememberMeServices not working with jdbc-user-service

I have implemented a small application which uses spring security and remember me services. It is working fine if I use //hardcoded the userName/Password here. Even after server restart I am able to access…
user2677325
  • 103
  • 2
  • 6
0
votes
1 answer

Change gc_max_lifetime AFTER session is started

I'm in a (unique?) situation where I want people who are logged in to stay logged in as long as possible. Ideally, a month (marketing wanted a year). We are storing session data in a database rather then the default file. We don't store any personal…
0
votes
1 answer

django-remember me-'long' object has no attribute 'set_expiry'

I am making my first app in django . I am writing a function for remember me , I am not using login(request,user) neither authentication thing . If user select remember me check box , I am setting cookie expire time after a week . But the problem is…
nerdiplayboy
  • 556
  • 2
  • 9
  • 17
0
votes
1 answer

How to redirect remembered users?

I am developping a website with symfony 2.2. I use FOSUserBundle and my website is basically made of a homepage, a login page, a register page and a secured area. What i want to do is when a user type in the address of my website: if anonymous ->…
Jules Marcilhacy
  • 161
  • 1
  • 11
0
votes
1 answer

Spring security remember-me with customAuthenticationProvider

I'm using CustomAuthentication provider to authenticate which extends AbstractUserDetailsAuthenticationProvider. This I had to do because I wanted to authenticate against a webservice and needed both userid as well as password. This was the only…
Hemant
  • 205
  • 2
  • 3
  • 8
0
votes
1 answer

Persistent Based Remember-Me for Regular Login in Spring Social Sample

So I want to add a remember-me feature onto the Spring Social Showcase-Sec-XML sample. So I want to make it a persistent-based remember-me however whenever I add the datasource to the remember-me I get an error. This is my code in the…
Kenneth Truong
  • 3,882
  • 3
  • 28
  • 47
0
votes
4 answers

Remember me in android application

I am working in remember me function in android where i have stored the username and password in storage class,the storage class is the class where i implement the Shared preferences. What i have done First i am checking that if the checkbox is…
user2134412
0
votes
2 answers

Session Management (Zend Framework specific)

I'm trying to get the rememberMe() function to remember users and retain sessions for months at a time. I've read that if you pass a value through rememberMe() it will not work if the session has already been started. From the…
Brian
  • 953
  • 4
  • 15
  • 35
0
votes
1 answer

CAS Jasig remember me uses old user attributes

It seems that when login with remember me feature, the user attributes (comming from AttributeRepository) are not refreshed. The use case : A user logs on monday. Its attributes are retrieved. On tuesday, its attributes change (roles for…
jmcollin92
  • 2,896
  • 6
  • 27
  • 49
0
votes
1 answer

Attribute jsessionid remove cookie

I logged in my site. Cookie created correctly. I see JSESSIONID and SPRING_SECURITY_REMEMBER_ME_COOKIE (at this moment Its name is testMecook). It's ok Then, I close my browser, then open it. And SPRING_SECURITY_REMEMBER_ME_COOKIE field removed.…
Kirill Muchow
  • 103
  • 1
  • 1
  • 12
0
votes
1 answer

Spring Security Remember-Me REST web service - how to return token back in the 200 response with the Persistant Token Approach

I have my rest web services secured with Spring Security. I'm returning the the appropriate responses (401 for failure, 200 for success, etc) via the various handlers. The client does not want to store the credentials on the device, so I cannot…
SBerg413
  • 14,515
  • 6
  • 62
  • 88
0
votes
1 answer

Remember me not working chrome and IE

I am working in asp.net and c#.In my application i have login page for which i am having remember me feature.My code works well in firefox but not working in chrome and IE.please let me know where i went wrong.. CODE: protected void Page_Load(object…
smith269
  • 135
  • 2
  • 4
  • 15
0
votes
1 answer

Devise rememberable does not work in jQuery Mobile

Devise rememberable is supposed to set a remember_user_token cookie on the client so that even when the session cookie is deleted, the user does not have to log in again. t.rememberable is set in the create_users migration and devise :rememberable…
Aaron
  • 13,349
  • 11
  • 66
  • 105
0
votes
1 answer

user login system cookie based over ssl

i created user login system and with this function i start sessions function sessionStart() { $session_name = 'sec_session_id'; // Set a custom session name $secure = false; // Set to true if using https. $httponly = true; // This stops…
HiDd3N
  • 494
  • 6
  • 23