Search code examples
content-management-systemdotnetnukedotnetnuke-module

Simple question on DotNetNuke Module development


If you are developing multiple modules on a webpage displaying different things such as content like a bio or pictures based on a userId passed through the Query String.

At page load should all modules on the webpage act independently and individually look at the query string and return the content based on the userId.

And in the same way should the modules individually check if the correct user is logged in before they are allowed to modify the content.

I have made a one or two modules before for a website but this is the first time I am developing a DotNetNuke website and I am just unsure if this is the only way.


Solution

  • Each module should work independently of the other ones.

    Also, I don't think you should look at the querystring to get your user id because that can be spoofed. Instead, look at the base class for your module to see if there is a property containing the user info.