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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Get rid of SSL this page contains both secure and nonsecure items dialogueGet rid of SSL this page contains both secure and nonsecure items dialogue
Previous
 
Next
New Post
6/11/2009 6:14 PM
 

 I use it in the Page_Load section of the modules server side code.

 
New Post
6/12/2009 11:59 AM
 

Baatezu wrote

 I use it in the Page_Load section of the modules server side code.

Gotcha... kinda (once again, not a real codemonkey myself yet.

I've taken a look and I think I may have found what needs to be edited, but wanted to pass this by everyone's eyes before I commit any major changes.

Summary of Issue:  I have one page (maybe two, but that's it) that is secured using SSL. I need to make sure that when people navigate AWAY from that page that the URL uses the HTTP protocol instead of HTTPS to avoid the "This page has unsecured data" that arises from the use of iFrames elsewhere on the website.

What I Have Found:

As it would need to be checked on each page, I looked at the Default.aspx.vb file and found the following section:

Line 639:

        Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Dim Scrolltop As HtmlControls.HtmlInputHidden = CType(Page.FindControl("ScrollTop"), HtmlControls.HtmlInputHidden)
            If Scrolltop.Value <> "" Then
                DotNetNuke.UI.Utilities.DNNClientAPI.AddBodyOnloadEventHandler(Page, "__dnn_setScrollTop();")
                Scrolltop.Value = Scrolltop.Value
            End If

 Would this be where the code needs to be inserted, and if so what would be the best method to use? As I said, I'm a code-monkey so I'm hesitant to change this code without knowing what I'm doing.

Thanks agian for all the help!


Wells Doty Jr
Online Content Development
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Get rid of SSL this page contains both secure and nonsecure items dialogueGet rid of SSL this page contains both secure and nonsecure items dialogue


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