?
Solved

Cross iframes authentication  sessions & cookies

Posted on 2009-04-10
2
Medium Priority
?
995 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 2000 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

Introducing Priority Question

Increase expert visibility of your issues by participating in Priority Question, our latest feature for Premium and Team Account holders. Adjust the priority of your question to get emergent issues in front of subject-matter experts for help when you need it most.

Question has a verified solution.

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

Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

770 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