New in XMod Pro
Free Module Kits
XMod Pro Addons
Return to previous page
I would like to be able to write an XModPro module that will allow me to immediately (without form submission) do a server-side redirect if certain conditions are met. Basically I want the exact functionality that <Redirect> provides, but I want it to run right after the SelectCommand.
I would use this for enforcing page permissions in ways that are more complex than what DNN allows out of the box. I would also use it to test conditions under which a certain page should not be accessed (e.g. a three-page wizard-style form, and I want to make sure they finish page one before moving on to page two, etc).
I think there are actually several use cases for which I would find this useful -- some of them may have workarounds, but I would find this capability to be a more elegant way to handle it.