This is a migrated thread and some comments may be shown as answers.

ASP NET Session has expired

1 Answer 77 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 26 Mar 2021, 08:01 PM

Hi,

 i am getting a error when working with session state custom, i am using redis cache for session,

thanks for any help

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 31 Mar 2021, 12:04 PM

Hello Alex,

Thank you for the provided images.

According to the description of the problem, it seems that you are falling into the first case of the described in Report is unavailable or session has expired error message article problems which is an expired session. As with all such cases (not only Telerik Reporting specific), you have to either refresh the page or increase the asp.net session's timeout.

Another approach is keeping the Session alive is to place some kind of a Timer Control that will make a periodic request to the server and will reset the Session's expiration time.

Additionally based on the second image, I believe that you using the ASP.NET Web Forms Report Viewer which obsolete as of Telerik Reporting Q3 2015, our recommendation is to use the latest web forms report viewer - HTML5 ASP.NET Web Forms Report Viewer for web projects.

Details on how to add HTML5 Viewer to the project are available in the following articles:

Please let me know if you have any other questions or need further assistance.

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Alex
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or