Solved

Cross iframes authentication  sessions & cookies

Posted on 2009-04-10
2
990 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error in query expression 3 36
Ajax Panel Not Updating When Triggered By Timer 4 42
Exit the loop 4 35
C# Comparing String Arrays. 5 25
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now