dotnetnuke

Why is DNN killing my authentication cookies when I access an ashx from a child portal?

痞子三分冷 提交于 2019-12-22 08:16:46
问题 I am seeing a really wierd issue that only happens with non-administration users. When the user logs in and accesses one page, they are logged out of the system. The page finishes loading as if they were logged in, but once they try any other actions (including refreshing the browser page) they are considered not logged in and presented with a login prompt. Opening up fiddler, I can see one of the responses from the server contains the following: Response sent 71 bytes of Cookie data: Set

Module Localization in DNN

落花浮王杯 提交于 2019-12-22 07:08:57
问题 I don't know much about the localization process in DNN. The question is that how can you localize a new module? Is it possible to include localization files with every module separately? What solutions can you come up with? 回答1: Localization of a module is pretty easy thanks to DotNetNuke. Wherever your .ascx (View) file is, the App_LocalResources folder should always accompany it, on the same level. There should also be a corresponding .ascx.resx file in that folder. view.ascx App

DotNetNuke - Best Way to Move From Professional to Community Edition

喜欢而已 提交于 2019-12-21 20:58:42
问题 What is the best process of moving a 200+ MB DotNetNuke site from Professional to Community edition? I am asking the Stackoverflow community since DotNetNuke's standard line is "there is no supported option to switch from PE to CE", or to contact their customer support. However DNN support told a fellow team member tell us that it was not possible to go from Professional to Community, so that was a waste of time. Based on research there are a couple possibilities for doing this: Create a new

When my large ASP.NET site is updated, IIS has to recompile a lot of it. Is there a way to cut down my compile time significantly?

不羁岁月 提交于 2019-12-21 16:54:27
问题 DotNetNuke is a large ASP.NET CMS which is mostly pre-compiled, as are most of the modules contained within. When we deploy our DotNetNuke site changes, we have two bits of recompilation that occur upon the first page hit. Application-level recompilation that occurs when a DLL is replaced in the bin folder Each time an individual module is accessed for the first time, some recompiling occurs on that specific module. Is there a way to allocate more of the CPU capacity to compiling asp.net

Dotnetnuke development environment and deployment

*爱你&永不变心* 提交于 2019-12-20 10:47:17
问题 My company is redesigning our intranet site and decided to go with DotNetNuke as the solution to implement. Now for the past year I've been trying to drive changes here about keeping development, testing, and production environments separate. I also want all changes that are relevant to the site to go into SVN, this includes data that defines the page and module layout. Has anyone attempted trying this with dotnetnuke before? And does anyone have any other tips for developing dotnetnuke sites

petapoco query a Sql Server View

﹥>﹥吖頭↗ 提交于 2019-12-20 05:36:12
问题 I have started using the DAL2 with dotnetnuke 7. I have some complicated queries that I have created views for in the SQL server database that my instance uses. What is the best practice for accessing a simple select from these views. If I use the following then does this bypass the dbOwner and ObjectQualifier: Public Function GetProducts_Short_Active() As IEnumerable(Of Object) Using ctx As IDataContext = DataContext.Instance Return ctx.ExecuteQuery(Of Object)(CommandType.Text, "SELECT *

How can I rotate(or change) background image using CSS and Javascript

老子叫甜甜 提交于 2019-12-19 03:56:14
问题 I have taken a look through stackoverflow for hours now, and I have found a topic similar to what I am trying to achieve JavaScript, How to change the background of a div tag every x seconds When I modify this solution in my script, I get no background image at all so I thought I would come back to the source to get some fresh eyes and thoughts. Here is my setup: HTML <div id="Background"></div> CSS: .background-1 { background: url('Images/mybg1.jpg'); -webkit-transition: background 500ms

Retrieving password when the password stored as a hash value

北战南征 提交于 2019-12-19 03:25:34
问题 Can users request that their password be emailed to themselves if the password is stored as a hash value? Is there any way to convert a hash value to the clear text value with the proper information (& what information would you need)? If a user has the same password hash value stored on two sites, would their password be the same for both sites? 回答1: If you're only storing a hash of the password, then no. ...and you should only be storing a properly-salted hash of their password, anyway.

Should we build our next generation web application on the DotNetNuke platform?

淺唱寂寞╮ 提交于 2019-12-18 19:44:32
问题 We are currently considering using DotNetNuke as a base for our future portal-based and client-customizable web application that is going to be hosted centrally. The idea is to make the dynamic parts as DNN modules that in turn talk to backend WCF-services which takes care of the business processing and data storage. What are your good/bad experiences with such a model? Anything you would warn against or recommend? Any advice would be appreciated, thanks... 回答1: DotNetNuke can be a powerful

numeric-only textbox as a control in Visual Studio toolbox

倖福魔咒の 提交于 2019-12-17 16:26:38
问题 I would like to make one numeric-only textbox. I'd like to then add that same to the control toolbox within Visual Studio 2008 I've already built the function to allow only numeric. How can I make it available in the toolbox? 回答1: This is how you can create numeric TextBox : public class NumericTextBox : TextBox { protected override void OnKeyPress(KeyPressEventArgs e) { if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar)) { e.Handled = true; } base.OnKeyPress(e); } } 回答2: Call this