Tutorials

Page access levels

If you download my free minisuite (here) - Server Behaviour 108 allows you to specify which access levels should be allowed to view the page.

Unless you are using the login server behaviours supplied with dreamweaver, you will need to set up a Session Variable on your login success page first to hold the users Access Level.

For example:

In VBScript

<% Session("MM_UserAuthorization") = (rsName.Fields.Item("AccessLevel").Value) %>

Notes

This piece of code would have to go after your recordset code in order for it to assign the relevant recordset value to the session variable.

Once you've done that, apply Server Behaviour 108 from my free minisuite to the page you want to protect.

You will need to provide the following information to the Server Behaviour interface...

Once you've provided that information, click OK and you're done.