Link to home
Start Free TrialLog in
Avatar of willa666
willa666Flag for United States of America

asked on

DW user athorisation and restriction

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
Avatar of Saqib Khan
Saqib Khan
Flag of United States of America image

> 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.
Avatar of willa666

ASKER

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.

ASKER CERTIFIED SOLUTION
Avatar of prifre
prifre

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial