session-timeout

Redirect to <error-page> on session timeout

[亡魂溺海] 提交于 2021-01-29 11:21:19
问题 I have a standard J2EE web-application running on WebLogic server. I want to handle a session timeout through the meta-data setup in web.xml. I tried to use the following setting <error-page> <error-code>408</error-code> <location>/jsp/testErrorPage.jsp</location> </error-page> However it didn't work. 回答1: Below is the explanation for 408 request timeout, The Web server (running the Web site) thinks that there has been too long an interval of time between the establishment of an IP connection

Why does my IdentityServer4 based server timeout in 30 minutes and only support SSO in the first 30 minutes?

旧时模样 提交于 2020-06-27 04:58:31
问题 I have an application system that developed based on IdentityServer4 and .NET Core 2.0. Just recently I noticed that log into the server will timeout in 30 minutes regardless of user activity. Client applications cannot launch other SSO enabled applications after the 30 minutes boundary. After 30 minutes, launching any new app will force user login. I looked at the cookies that might affect the SSO functionality, there are three: AspNetCore.Identity.Application, Identity.External and idsrv

Vaadin 14 - How to make sure of session related objects get cleaned up after SessionDestroy

余生长醉 提交于 2020-03-23 08:04:34
问题 Here is my MainView Class in a Vaadin 14.1.18 SpringBoot application. @Route public class MainView extends VerticalLayout implements SessionDestroyListener{ Logger logger = LoggerFactory.getLogger(MainView.class); public MainView() { // To make sure of doing some Houskeeping after Session Timeout VaadinService.getCurrent().addSessionDestroyListener(this); String sessionId = VaadinSession.getCurrent().getSession().getId(); Zombie zombie = new Zombie(sessionId); zombie.start(); add(new Span(

Delphi XE5 REST/Android Client “Session has expired”

妖精的绣舞 提交于 2020-01-24 18:03:37
问题 I have a REST Server with an Android Client , both on Deplhi Xe5 The android client succesfully connects with the Rest server. In my server I have a TDSHttpWebDispatcher with SessionTimeout =1200000 (20 min) So when the user in android doesn't use the app for more than 20 min, gets the "Session has expired" error when do a request to the REST server. I already set the PresserveSessionId=False in the DSRestConnection in the Client app, so there is no sessiontimeout error, but it makes the app

JSF Session timeout and auto redirect to login page without user intraction eventhough Ajax push is active

我们两清 提交于 2020-01-24 00:15:14
问题 I'm using Iceface Icepush in my JSF application to send some notifications to client. Because of this session timeout never happen on my application. I've specified session timeout 15 mins. My requirement is, server should invalidate session if there is no actual client interaction for 15 mins. I did some search in iceface forum and added this context param in web.xml <context-param> <param-name>org.icefaces.strictSessionTimeout</param-name> <param-value>true</param-value> </context-param>

Prevent session timeout during database update

核能气质少年 提交于 2020-01-22 18:02:07
问题 Background A web application calls a stored procedure to perform an intensive database update. The relevant portion of web.xml was updated to four hours: <session-config> <session-timeout>240</session-timeout> </session-config> The technologies available for the solution include Java 1.4.2, Struts 2, Tomcat 5.5, and Apache commons. Most other technologies (such as jQuery) are not permitted. Problem The update takes about an hour to run, however a configuration value of four hours is against

Session expires too quickly in asp.net mvc4 application

久未见 提交于 2020-01-15 03:25:52
问题 In my web.config file, the session state configuration is as follows- <sessionState mode="InProc" timeout="540" /> In IIS 7, session time out value alse 540. But still, session expires very quickly (within 5-15 minutes). It is an asp.net mvc 4 application. Except login.cshtml, all other .cshtml views are loaded via ajax calls as a partial view. i.e. main home page loads only once and all other subsequent pages are loaded within a div on main home page. How to get rid of this problem? 回答1: if