Questions tagged [expired-sessions]

74 questions
1
vote
1 answer

Set count down day for the password field in a table user of SQL

I have to set count down day for the password field in a table user to renew again by user. If not renewed he should not be able to login. This should be done in SQL user table, and should be done every time after a 30 day expiry period. So…
Roy shetty
  • 33
  • 4
1
vote
0 answers

Email error in Yii framework

Am quite new to Yii framework. I hit a problem with one of the existing Yii application. There is a “forgot password” feature there. It's working like, enter username and security question answer. If both are correct, the system will send one link…
Lucky13
  • 11,393
  • 7
  • 25
  • 36
1
vote
2 answers

How to get Spring Security auto logout time, when using invalidate-session="false"?

I use spring security 3.2 ver. And my logout option have invalidate-session="false". So i can't use session listener. How to get auto logout time? Do not click logout button. And spring security have token listener or credential listener?
1
vote
1 answer

Laravel possible garbage collector issue: Sessions expire randomly

I have a web app which uses Laravel 4.2 with the session file driver. It runs over a https protocol and all users are stored in one database. We get a lot of reports that users are being randomly logged out, but I can't reproduce the issue in our…
Mattias
  • 1,111
  • 1
  • 14
  • 23
1
vote
2 answers

How come instagram iOS app never ask me login again, even token is expired?

I have been searching this for days..... I know usually when we design token for client and server, user can login with username and password, server use them to create a token and send back. If token is expired, we let user login again. How come…
Usher
  • 369
  • 4
  • 14
1
vote
0 answers

Facebook iOS SDK--closeAndClearTokenInformation not removing access token

In my iOS app I am logged into Facebook via iOS Settings. If the user removes the app from Facebook or changes his password, the token is expired and invalid. My app detects this and calls: [FBSession.activeSession…
Cb32019
  • 185
  • 1
  • 13
1
vote
1 answer

Checking whether Express Session is expired

Say node express sessions are saved in an application (meaning they are not necessarily accessed from incoming req), how to check whether any of these sessions is expired? What is the proper test?
Jérôme Verstrynge
  • 57,710
  • 92
  • 283
  • 453
1
vote
0 answers

Form Authentication Cookie is expiring on each request in bigrock shared hosting

Cookie is resetting for every request on shared hosting in bigrock. Please suggest how to resolve this issue. It's working good in dev environement. Not sure why this issue's occuring after hosted. Any help ? Please find the cookie and…
1
vote
1 answer

ViewExpiredException immediately after logging

I read that it is a problem of expired session, but in my case it's impossible because the session was just opened when the exception is thrown: I get to login page, fill up form and submit. After that I get ViewExpiredException. What can I do to…
kuba44
  • 1,838
  • 9
  • 34
  • 62
1
vote
1 answer

Facebook session is expired even though I am logged in to facebook

I am using facebooker with rails and when I log in via facebook connect, for a new user registration ,I get a session expired when I retrieve details like first_name etc.. Note that when I browse to facebook.com I am logged in..But it seems like…
Vivek
0
votes
2 answers

How to prevent the need to login everytime an iphone web app is launched

I'm creating a web app for an iphone using ruby on rails 3. If I add the app to my iphone home screen, everytime I launch the app, I need to login again. I also just realized that when I close the browser on my PC and reopen it, I lose the session…
0
votes
0 answers

Updating Expiry time in cookie from restful server using Python requests module and Cookiejar

I'm trying to update the expiry time to extend an API session from a RESTful service. However, I am having trouble getting the restful server to acknowledge that the time has been updated. I've used the requests module in python to facilitate the…
0
votes
0 answers

Login Expire session issue in .net core(blazor)

When I log in and set expire time to 12 hours I get logged out after 20 or 30 minutes and redirect to the login page. I don't know the reason for that. This is my code List claims = new List{ new Claim(ClaimTypes.Email,…
0
votes
0 answers

why laravel sessions gets expired after login instantly?

if(Auth::guard('runner')->attempt(['email'=> $request->email,'password'=>$request->password])) { return redirect()->route('home'); } // this is my route Route::get('/home', [App\Http\Controllers\HomeController::class,…
0
votes
0 answers

How to get the session expiration event in express using ioredis?

I am using ioRedis coupled with express-session in my NodeJS app and I'd like to fire an event when a session expires. I wrote this: let Redis = require('ioredis'); let clientRedis = new Redis(); let RedisStore =…
djcaesar9114
  • 1,880
  • 1
  • 21
  • 41