Solved

Cross iframes authentication  sessions & cookies

Posted on 2009-04-10
2
994 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
[X]
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
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

705 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