Advertisement

07.05.2007 at 08:35AM PDT, ID: 22677047 | Points: 500
[x]
Attachment Details

asp.net session problems with pages containing sql server 2005 reports

Asked by yvsupport in SQL Server 2005, Programming for ASP.NET, .Net Editors & IDEs

Tags: session, timeout, report

Hi

I have an asp.net (C#) application that uses the sessionTimeout property n the web.config in conjunction with forms authentication, to log users out when they attempt to use the site after a certain amount of inactivity has passed. For example the timeout is set to 5 minutes, a user logs in and goes to page1 doesn't touch the browser for 6 minutes, attempts to go to page2 but is logged out redirected to the login page.

This all works fine until I get to pages that display reports in the report viewer control. The reports are created using SQL Server 2005 Reporting Services. On these pages, once I display the report, the user appears to always be logged in. Using the example above, after 6 minutes, the user would be able to navigate to page2 rather than being logged out as with non-report pages.

I can only imagine that once the report is run in the viewer, it keeps the session going somehow. But I can't find any info anywhere that can explain it.

Any help would be great, I have been banging my head against the wall for about 2 weeks with this one.

Cheers
jd
Start Free Trial
[+][-]07.05.2007 at 08:48AM PDT, ID: 19425003

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.05.2007 at 08:49AM PDT, ID: 19425008

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.05.2007 at 08:54AM PDT, ID: 19425049

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.05.2007 at 09:02AM PDT, ID: 19425110

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.05.2007 at 09:02AM PDT, ID: 19425111

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.06.2007 at 03:23AM PDT, ID: 19430580

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.09.2007 at 01:15AM PDT, ID: 19443581

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.02.2007 at 02:46AM PDT, ID: 19615539

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32