ASPX page can't see Session created by WCF with XBAP client



I followed great instructions on how to setup ASP.NET session in WCF and it
works great inside WCF service.

When I tried acessing session data directly from ASPX page it was not

Basically what I am trying to do is to generate a large report file through
WCF service. I then need to display it inside XBAP Frame element. The only
way to set frame content in partial trust environment is through URL. Since
IsolatedStorage URL is not known in partial trust the only way to do is to
use web server URL. So, I am using ASPX page. I am trying to pass report
content via session, but session variable is empty. I guess that Frame gets
its own session. Is there any way I can load session by session ID?

Steven Cheng [MSFT]

Hi Izorich,

As for the setup ASP.NET seesion in WCF, what's the instruction you
followed , would you provide us the reference of it?

Also, based on my understanding, you're using ASP.NET session to store
report content generated by WCF service and let another XBAP client
retrieve report content from ASP.NET session, correct? It will be helpful
if you can describe more about the current application structure and code


Steven Cheng

Microsoft MSDN Online Support Lead

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

Get notification to my posts through email? Please refer to

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
This posting is provided "AS IS" with no warranties, and confers no rights.


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Latest member

Latest Threads