locked
asp.net session has expired and webbrowser control RRS feed

  • Question

  • User-768778106 posted

    Here is the setup I am using.  I have WebBrowser control in Wpf applicaiton that is used to view SSRS reports via ASP.NET SSRS reprots viewer hosted inside ASPX page on the server.  YOu can preview and print the report.  However, when you try to export it, you will get ASP.NET session expired message.

    Is there any way to solve the issues?

    Thank you.

    Tuesday, March 3, 2009 7:05 PM

Answers

  • User-768778106 posted

    It works just fine.  After digging deaper, the issue is that session is not carried over from WebBrowser control into a browser popup because it is run in a separate process.  Still, I do not see a clean solution, which is a big problem to me,

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 4, 2009 8:55 AM

All replies

  • User-246288986 posted

    what if you open the report via normal web application than webBrowser? 

    Wednesday, March 4, 2009 7:24 AM
  • User-768778106 posted

    It works just fine.  After digging deaper, the issue is that session is not carried over from WebBrowser control into a browser popup because it is run in a separate process.  Still, I do not see a clean solution, which is a big problem to me,

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 4, 2009 8:55 AM
  • User1459882081 posted

    I'm in the same boat. Let me know if you find anything intersting. Thanks. 

    Wednesday, February 9, 2011 12:54 PM
  • User-768778106 posted

    I did figure it out at that point.  I had to export the browser control into a DLL (SHDOCVW).  THen I was able to launch one browser control from the other to solve the problem because I could override some launching event from there.  I do not recall exact details unfortunetaley, since it has been years.  JUst Bing for shdocvw and navigate2.  Also check this page http://msdn.microsoft.com/en-us/library/aa752084(v=VS.85).aspx

    Friday, February 25, 2011 7:31 AM