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

ClientHttp and "Session has expired" error

1 Answer 97 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adrian Pay
Top achievements
Rank 1
Adrian Pay asked on 16 Apr 2012, 02:56 AM
Hi,

After switching BrowserHttp to ClientHttp in our SL app, we got "Session Expired" problem from Telerik Report Viewer.
Any suggestions/answers will be highly appreciated.

Thanks.

Regards,
NNT

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 18 Apr 2012, 08:07 AM
Hi,

You're implementing your own handling for the http stack and you should also provide your own session handling. To do that you need to implement the IReportServiceClientFactory interface and its only method should create and return a new instance of the ReportServiceClient class which you can configure. More information on that is available in the Using Custom Bindings help article.
The following articles contain information on handling session with Client Http Stack:

Generally if you are not using charts or images in the report, you should be able to get the report through just by setting the <sessionState cookieless="true"></sessionState> in the web.config of the Silverlight.Web project.

Regards,
Steve
the Telerik team
BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >
Tags
General Discussions
Asked by
Adrian Pay
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or