Solved

Cross iframes authentication  sessions & cookies

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

746 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

13 Experts available now in Live!

Get 1:1 Help Now