Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

Using window.open with forms authentican

Hi,

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.
Thanks
V Alur.
0
CCHSA
Asked:
CCHSA
1 Solution
 
vadivhereCommented:
if you have used forms authentication, then definetly this is the problem...

Cheers!!
0
 
CCHSAAuthor Commented:
Is there a way that I could have the users access page1 and page2 without (bypassing) forms authentication.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now