Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Cross iframes authentication  sessions & cookies

Posted on 2009-04-10
2
992 Views
Last Modified: 2012-05-06
Hi, I try to use an iframe to access pages in a sub application of one website. The iFrame html is like this :
<iframe height="600" frameborder="0" align="top" width="950" scrolling="auto" marginheight="10" marginwidth="10" name="iframe" src="/app/prot/graphs.aspx">

where the /app/ is an application in the site.

The page is protected with forms authentication and iis therefore lauches the login.aspx-page.

My problem is that the straightforward login-function does not work in Internet Explorer (it does in Firefox).

Some ideas?

Thank you!
0
Comment
Question by:vb_jonas
2 Comments
 
LVL 11

Accepted Solution

by:
cmhunty earned 500 total points
ID: 24118072
So the page with the Iframe on it is within a protected section of your site and the iframe url as another page within the protected area? If so, when you log in, can you not set a cookie which can be checked as part of the page your iframe references? If that's set, you can fire the form login?

Chris
0
 
LVL 12

Author Closing Comment

by:vb_jonas
ID: 31568985
Hi, yes, thanks for redirecting my thougts. I now run a fail-save hidden login routine from within the iframe-page. (As I cannot trust it working from outside the iframe).
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question