Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How To Break Frames on Session TimeOutHow To Break Frames on Session TimeOut
Previous
 
Next
New Post
1/9/2008 2:24 AM
 

How To Break Frames on Session TimeOut?

I am integrating a control panel into my DNN portal. The main page of this control panel have an iframe, where i display the pages when i user clicks on the menu. Now, my problem is that when the session times out or expires (i.e. due to browser inactivity) then the user clicks on a link, it redirects to the DNN login page. This is fine
 but the problem is it displays within the iframe, and i want it to break the frame and display the login page on the whole browser content area.

If there is a similar issue, which have been posted in the past, pardon me and please show me the link to it.

Thanks in advance.

 
New Post
1/9/2008 2:28 AM
 

what you could do is to add some javascript to your login page that redirects the user if the page sits in a frame. I did a quick search and found this link for you: http://www.thesitewizard.com/archive/framebreak.shtml


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
1/9/2008 2:49 AM
 

Thanks Eric for the quick reply. However, i failed to mention that i want to do it on the server-side. Or is that even possible? As much as possible i do not wish to meddle with DNN core files, thus client-side javascript is last resort. And when it is, i'm not even sure where to look for the DNN login page?

 
New Post
1/9/2008 3:48 AM
Accepted Answer 

afaik it is not possible to do this server side.

You don't need to look for the dnn logon page, you just need to create your own. Create an empty page, put a logon module on it, identify that page as the login page in Admin > Site Settings and add forinstance a text html module to the page where you add that javascript... that should work


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
1/9/2008 5:40 AM
 

Thanks Erick!

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How To Break Frames on Session TimeOutHow To Break Frames on Session TimeOut


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out