Solved

DW user athorisation and restriction

Posted on 2004-08-23
3
137 Views
Last Modified: 2010-04-25
I have an issue with an app that i wrote.

The session varibles seemed to be screwed up and the result is that my page restriction is not working.

I have added in some extra session varibles at the login but i was wondering what are the defeult session varibles that dreamweaver creates when you create a logon page? and am i right in thinking that the access level is controlled by the user name being run in a query to see the users access level at the time of the page being compiled rather then an access level session variable being created on the logon page?

Also does the logon and user authentication store any code in the hidden directory that dreamwaver does not show? IE_mmServerScripts

Willa
0
Comment
Question by:willa666
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 23

Expert Comment

by:Saqib Khan
ID: 11877864
> and am i right in thinking that the access level is controlled by the user name being run in a query to see the users access level at the time of the page being compiled rather then an access level session variable being created on the logon page

when a user enters a user name and PAssword, your Query Executes. if the user name is found and the Password, Then DW will generate Apporiate Session Variables to hold your User name throughout the Site.

 > Also does the logon and user authentication store any code in the hidden directory that dreamwaver does not show?

as far as I know All the Sessions Variables are stored as Cookies and DW wont put them in any kind of secure directory.

what Exactaly are you trying to do or having problems with. Post some code if confused.
0
 
LVL 1

Author Comment

by:willa666
ID: 11879197
Their are no cookies created DW, they are session variables surely.

the problem i am getting is that when i log and then try to view a page that has restrictions applied i get denied the page. even when i put the privilage to allow all levels (1,2,3,4,5), that is why i want to know what the session varible are called that DW creates.

I did get this problem before when i was a litle wet behind the ears and found out that my field size was 2 rather then 1. But this is not the problem this time.

Their must be another file that holds the accesslevels as when you go to a fresh page and add page restrictions to it the access levels are allready their! so DW must be drawing them from a file somewhere.

0
 
LVL 9

Accepted Solution

by:
prifre earned 500 total points
ID: 12037484

"By default Macromedia’s Dreamweaver MX creates 2 Sessions when you login, first the Username, from the form, called MM_Username, 2nd if you select to use Authentication levels, it will create one call MM_UserAuthorization from a column in your database.

You can create as many Sessions as you wish from the login behaviour, as long as the details are included in your user table or are defined in the page."

Taken from the tutorial: http://www.cgw3.co.uk/tutorials/tutorial.asp?TutorialID=37&CategoryID=3

hope that helps.

with a smile
/prifre
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Search/Results Pages 7 404
Resume template for HTML/Dreamweaver website 9 530
Dreamweaver template not updating editable region 4 214
Site contents shift off page in IE 32 134
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question