Using window.open with forms authentican
Posted on 2004-10-18
I have an application where I have a page1.aspx. I pass some session variables to page2.aspx and open this page2.aspx by using Java script, window.open.
Page2.aspx has code to deal with a third party software that converts my resulting html page(a report) to a acrobat file (.pdf). Now, if I go back to page1.aspx, to change the options chosen, I get an access denied error.
If I hit the back button, the page1.aspx reloads and report works again.
What I would like is to have the options change and the page2.aspx execute again to open the pdf file created.
My observation is that after the pdf file is opened, the page2.aspx does not close. I am also not sure, if forms authentication play a role here. Can some one send in some solutions forthis issue.