Hello,
Currently we have a main application that is setup on our server that provides our login/password credentials. Once you've logged in you are taken to a dashboard where you pick the application you wish to access. All these applications are sub applications and fall virtually and physically under the main application directory. So, in essence you have an application within an application. My question is about session data. I don't have any need to pass session data from one sub-application to the next, however, I'm unable to even maintain session data within one application when using iframes. I've done some debugging and I look at my session key and I display it and both the main page and the iframe page have the same sessionID, however, the iframe does not contain any of the keys and the main page has and is null? Is there something I'm missing to make this work? I did not setup the overall application, nor do I have the ability to change anything in that structure, but I'm desperate to utilize session variables for storing objects. ANY info/insight into this issue would be greatly appreciated. Thank you in advance!
Kyle RogersPosted Jul 1, 2008, 8:19 AM
Niradhip ChakrabortyPosted Jul 1, 2008, 8:16 AM
Well in that case it should work. Anyways can you please send the code, so that someone
from forum will go ahead and solve the issue.
Kyle RogersPosted Jul 1, 2008, 7:29 AM
I'm not using IE6. I'm using IE7 and all the pages are access are done via DNS. During my troubleshooting I do get the same sessionID in my frame page, however, I don't get any keys in the iframe?
IE 7.0.6001.18000
Niradhip ChakrabortyPosted Jul 1, 2008, 2:22 AM
Are you using IE6???
In Internet Explorer 6 that any cookies you try to set in FRAMEs appear to be lost. This is most frequently experienced as a loss of session state in an Active Server Pages (ASP) or ASP.NET Web application. You try to access a variable in the Session object that you expect to exist, and a blank string is returned instead.
You also see this problem in a FRAMEs context if your Web pages alternate between the use of Domain Name System (DNS) names and the use of Internet Protocol (IP) addresses.
Internet Explorer 6 introduced support for the Platform for Privacy Preferences (P3P) Project. The P3P standard notes that if a FRAMESET or a parent window references another site inside a FRAME or inside a child window, the child site is considered third party content. Internet Explorer, which uses the default privacy setting of Medium, silently rejects cookies sent from third party sites.
More details and the solution:
http://support.microsoft.com/kb/323752/en-us