Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Iframe Module [...  How do you secure iFrame module
Previous Previous
 
Next Next
New Post 9/18/2008 11:37 AM
User is offline AndySmith
4 posts
10th Ranked


How do you secure iFrame module 

Hi,

We have an iFrame module on a page that is only available to registered users. It displays an aspx page this is local our site. The aspx page also makes sure the user is logged in and redirects if they are not. However, if you copy the source location of the frame, then logout, then paste the frame location in the URL bar, I can still see the aspx page even though it checks to see if you are logged in. The aspx page is never firing, it appears to be pulled from cache, so the check to make sure the user is logged in never fires. How do I tell the iFrame module to not cache? I already set the cache time to "-1". I've also played with setting no-cache meta tags for the browser, however this does NOT work for all browsers. Any ideas?

 
New Post 9/18/2008 12:35 PM
User is offline Vitaly Kozadayev
739 posts
www.continure.com
7th Ranked






Re: How do you secure iFrame module 

The issue is not with IFrame - the cache settings you are mentioning are relevant to how IFrame works - shoudl it query DB for settings or shoudl it load them from cache (server cache, not client) if it's available.

What you are observing is a result of aspx page being cached inside user's browser. To prevent it, you need to add settings to the aspx page code.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post 9/18/2008 12:51 PM
User is offline AndySmith
4 posts
10th Ranked


Re: How do you secure iFrame module 

What settings?

 
New Post 9/18/2008 3:03 PM
User is offline Vitaly Kozadayev
739 posts
www.continure.com
7th Ranked






Re: How do you secure iFrame module 
Modified By Vitaly Kozadayev  on 9/18/2008 5:04:13 PM)

Your aspx page needs to tell browsers not to cache it. Try strarting here: http://forums.asp.net/t/1013531.aspx


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Iframe Module [...  How do you secure iFrame module
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNN Outsourcing
50% more affordable services comparing to Western Europe and US: Custom DotNetNuke module development, skins, consulting, maintainence... Over 15.000 working hours of experience in custom DotNetNuke Solutions development, 8 years experience in outsourcing, excellent references!
www.dnnoutsourcing.com
Expressnet - DotNetNuke Hosting
Expressnet provide premium quality ASP.NET Web Hosting. We specialise in Windows based products including ASP.NET and Microsoft SQL Server. We offer fantastic value packages for DotNetNuke hosting. We also offer free asp.net web hosting
www.expressnet.com.au
Softech Development, Inc.
We help your business work smarter with DotNetNuke. Whether you need a new implementation, a custom module or skin for an existing implementation, or integration with your business processes, Softech has the experience and expertise to make it happen.
www.softechdevelopment.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP