Sign In  |  Register
 
 DotNetNuke Powered!
DotNetNuke Support Forums

SSL and Register Control

Rate this topic:

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

AuthorMessages
Mariette
Posts:102



05/31/2007 12:09 PM  

I am trying the impossible I guess. I have this:

    if(location.protocol.toLowerCase() =='http:' && 
         location.href.toLowerCase().indexOf('ctl/Register') > -1 )) 
             location.href = location.href.replace('http:','https:');

    if(location.protocol.toLowerCase() =='https:' && 
         location.href.toLowerCase().indexOf('ctl/Register') == -1 )
             location.href = location.href.replace('https:','http:');

I want every tab with ctl/register to switch to SSL and back if it does not contain that control but it does not work...why is that?



DotNetNuke Platinum Benefactor
Mariette Knap - www.smallbizserver.net
John Mitchell
Posts:3085



05/31/2007 12:12 PM  
Try just using the word register, it may be an issue with friendly urls, and/or the slash.
Mariette
Posts:102



05/31/2007 12:25 PM  
Thanks John. I had done something really stupid :-) I had a proxy set in IE and therefor still loading the old Java  It is working now


DotNetNuke Platinum Benefactor
Mariette Knap - www.smallbizserver.net
Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

Forums >DotNetNuke Support >General-DNN-Help > SSL and Register Control



ActiveForums 3.7
Visit our Store for great DotNetNuke Modules and Skins
DNNMasters Sitemap/Google Sitemap 3.0

Item codeSM3-01
Price$29.00
Product Information 
DotNetNuke CSS NavMenu 3.3 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
Snapsis PageBlaster 3.3.2 for DotNetNuke - Professional Edition

AuthorJohn Mitchell
Base Price$79.00
Product Information