| Summary: | The viewing session is not available or has expired | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | celeraman + <dany.eudes> |
| Component: | BIRT | Assignee: | Birt-ReportViewer <Birt-ReportViewer-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | bluesoldier, miguel.horlle+eclipse |
| Version: | 2.6.1 | ||
| Target Milestone: | 3.7.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
celeraman +
My observations are: 1. My system default browser is not Internet Explorer, it's Firefox. Even if I change my system default browser to Chrome, the report always opens with IE. 2. If I copy the original url that was first opened by IE and paste it into Firefox or Chrome, the report is opened normally without any exceptions. 3. The same happens if I choose PDF print format instead HTML. So, I did some tests. Test-1. --- I changed the browser used: Window->preferences->Report Design->Preview->Always use external browsers check box below it is a link to set the browser preference. I set the default browser to Firefox. I also set the host to localhost and the port to zero using the Preview->Preview Server entry. Conclusion: the same exception occurs. Test-2. --- If I change the following code from this: WebViewer.display(fileUrlPath, browser, myparms); to this code: WebViewer.display(fileUrlPath, myparms); Of course, my view isn't opening the report. However, the report viewer is opening straight to the browser, not running IE, but running Firefox, the default external browser defined in Preferences now. Next, in the external browser on WebViewer toolbar, if I click on Print Report command, a new Firefox window is open with a report print version and the print dialog pops up. This way, all works! Not as I would like, however! Test-3. --- Now, using WebViewer.display(fileUrlPath, browser, myparms) again. As the server defined in Preferences is localhost, I included it (localhost) in the IE trusted sites zone, or as local intranet site. Doing that, the IE is opening and the report is displayed with no exceptions. But only IE is the browser called yet, even if Firefox is the external browser defined in Preferences. Final comments [just a clue]: --- This seems to be a IE policy with iframe, cookies and cross-site. [quote] Instead of creating and uploading privacy policies to your sites, you can serve a “compact policy,” i.e. a “p3p” HTTP header, e.g.: “IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT”. A policy generator can produce one instead of an XML file. [/quote] (from http://aspnetresources.com/blog/frames_webforms_and_rejected_cookies) Other links: [Cross-domain problem] http://thedesignspace.net/MT2archives/000472.html [Cross Domain IFrame and Cookie Issues with IE7] http://thefrontiergroup.com.au/blog/2009/02/cross-domain-iframe-and-cookie-issues-with-ie7/ According to the post on birt-exchange, this issue is a common issue and have been fixed in the code of rcp example. http://www.birt-exchange.org/org/forum/index.php/topic/21288-the-viewing-session-is-not-available-or-has-expired/page__pid__72156__st__0&#entry72156 This seems to be a common problem http://www.eclipsezone.com/eclipse/forums/t90733.html |