rgarcia_3 Posted April 27, 2016 Share Posted April 27, 2016 I am using JasperRepors Server Community edition, I have ASP.NET MVC App that it's show JasperReports Server in Iframe. I want to redirect to custom page when session timeout.. by default is redirect to log-on page. Thank you. Link to comment Share on other sites More sharing options...
ghudson_1 Posted April 28, 2016 Share Posted April 28, 2016 Are you using normal 'internal' authentication and the normal login page? If so, then to handle timeout redirect you would probably have to make some customization involving flows. You can familiarize yourself with Spring Webflow API, and the "Adding a Custom JSP Page in a Spring Web Flow" section of the Ultimate Guide might give you an overview of how Spring Webflow impacts JRS.Upon session timeout/invalidation, a user is redirected to the home flow, but you could recreate flows, perhaps add custom code to "handle" a different redirection during session timeout. Link to comment Share on other sites More sharing options...
ghudson_1 Posted April 28, 2016 Share Posted April 28, 2016 if using some custom auth, not internal, you could check the authenticationProcessingFilterEntryPoint bean Link to comment Share on other sites More sharing options...
rgarcia_3 Posted May 9, 2016 Author Share Posted May 9, 2016 Hello ghudson_1, Thank you so much for your suggestions. I am using Token-Base Authentication to log on from ASP.NET MVC app. Thank you. Link to comment Share on other sites More sharing options...
jlbvar19 Posted October 17, 2018 Share Posted October 17, 2018 Hi rgarcia_3,Could you please tell me how you achieved this in ASP.NET MVC App? Because I'm also stuck in the same problem. Link to comment Share on other sites More sharing options...
arnaudsimon091 Posted October 18, 2022 Share Posted October 18, 2022 Hello, a usefull wiki is available here : https://community.jaspersoft.com/wiki/redirect-custom-page-instead-loginhtml-session-timeout-custom-auth Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now