Page Security in Coldfusion
Securing all the pages on your site with Coldfusion is easy. Today I uploaded this new version of Whompyjawed and started getting error messages because I only wanted to secure the admin section.

There is one page where I used conditional logic to determine whether to show the links to the update pages. That's where I was getting my error messages.

The answer is to put this line of code on the page where you need to test the user's role:

<code>
<cfparam name="Session.MM_UserAuthorization" default="1">
</code>


Archives