Questions tagged [expired-sessions]

74 questions
11
votes
4 answers

Automatically perform action in client side when the session expires

I want to display in a that the session has expired. I found many methods to handle session expiration like: Session timeout and ViewExpiredException handling on JSF/PrimeFaces ajax request But I couldn't push a faces message to…
user2354035
9
votes
3 answers

Spring security invalid session redirect

I'm using spring security 4.0.1 inside a spring boot 1.2.3 web application ( and also with spring-session 1.0.1, but this is irrelevant for the case ). I do have a private area, and an all access area ( "/about", "/","/contact",... more than 20…
josete
  • 357
  • 1
  • 3
  • 15
8
votes
5 answers

Asp.net MVC - How to check session expire for Ajax request

We are using Ajax call across the application- trying to find out a global solution to redirect to login page if session is already expired while trying to execute any Ajax request. I have coded following solution taking help from this post -…
7
votes
2 answers

Rails - Catch 'Invalid Authenticity Token' exception

I'm currently using RESTful Authentication plug-in on my rails application. There is a typical scenario when a user stays at login screen for enough time (let's say 1 day..) that makes the authentication token invalid due to time expire. When this…
user162972
6
votes
1 answer

It's not you, it's us We couldn't complete your request right now. Please try again later- awsapps login

awsapps login page shows -It's not you, it's us We couldn't complete your request right now. Please try again later or access key and secret could not connect aws account with an error message as "An error occurred (InvalidSignatureException) when…
4
votes
0 answers

Programatically expired spring session causes the rest-api user to face unexpected response

There is an adminUser A who can make the session of another rest-api user B expired. Collection usersSessions = sessionRegistry.getAllSessions(user, true); usersSessions.forEach((temp) -> { temp.expireNow(); }); Now, when…
4
votes
1 answer

Simulate Session Timeout/Expiration in Chrome

I have a piece of code I need to test for a case where the user is detected via cookies, but the session has timed out. To save myself from waiting around, is there a way I can modify the session in dev tools to simulate a timeout? I know you can…
4
votes
2 answers

How browser correctly calculate epiration datetime of cookie with different timezone on server and client side

The server and client in different time zone. The difference in 6 hours. The server sets a cookie for 1 hour but the client correctly receives it and keeps an hour, although the client is currently 5 hours ago. How client correctly sets the cookie…
Logioniz
  • 891
  • 6
  • 15
3
votes
3 answers

Laravel v8.x - Jetstream Inertia, 419 page expired on production

enter image description here page expired 419 appears when in production. I've tried to run php artisan clear:cache, php artisan config:cache, php artisan key:generate, and also change the SESSION_DOMAIN with the same domain, but the page still…
3
votes
3 answers

KeyCloak React refreshToken expired token

I want to implement authorization in my client-side application but I've got problem with update Token in React Application with Keycloak. App.js import keycloak from "../../keycloak"; const App = () => { const handleOnEvent = async…
Dominic
  • 105
  • 1
  • 4
  • 13
3
votes
2 answers

OAuth grant flow - tokens expiration

I'm developing an Android app that uses Outlook Calendar REST API. I'm trying to keep in synch and updated the calendars of multiple users (meeting rooms). My questions are: 1) After how long does the initial authorization code expires? 2) And for…
Gabe
  • 5,997
  • 5
  • 46
  • 92
3
votes
1 answer

ASP.NET Identity session expires too fast on prod server

After applying this tutorial to my project, on my local host there is no problem however when I deploy to prod server which is on plesk, session expires too fast. Less than 5 minutes probably and it is constantly like this. As the tutorial uses…
asdf_enel_hak
  • 7,474
  • 5
  • 42
  • 84
2
votes
0 answers

Issue for loading Microsoft.ReportViewer.WebForms in sub-directory

Using Microsoft.ReportViewer.WebForms Version 15 working normally however, for complaince we have added path in ASP.NETSessionID cookie due to the path we have moved ReportViewerWebForm.aspx in the same folder Now, SSRS load with some of the things…
2
votes
2 answers

Laravel 419 Page Expired on production server. [ framework : Laravel | version : 7.5.2 ]

Hello ! Problem : If i'm pushing the form for register an user, i got an 419 Page Expired I search here for my problem : -1. Stackoverflow Expired due inactivity : without success for my problem -2. Laracast Session expired : without success for my…
Jud3v
  • 191
  • 3
  • 14
2
votes
1 answer

Invalid Authencity Token after deploy

Whenever I deploy a new version of an rails app, the authenticity token of the previous release becomes invalid. That's the normal behavior. I'm not looking to change that. However, any user that still has a page open on the last version, will get…
deb
  • 12,326
  • 21
  • 67
  • 86
1
2 3 4 5