close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

User Level Authentication

Thread began 9/13/2012 3:40 pm by tolushayoo193471 | Last modified 9/14/2012 1:53 pm by Jason Byrnes | 1345 views | 7 replies |

tolushayoo193471

User Level Authentication

Hi, am trying to restrict access to some pages, I've created the access level by following security assist user level help file. I hve to level Administrator which is 3 and staff which is 5. I've followed the tutorial step by step successfully, uploaded it to my sever to test it, if i login with the username and password for admin or for staff it's not login me in. Please help I dont know why it's not working.

thanks

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of your login page please and the webassist/securoity_assist/helpergrouprules_php.php file

Sign in to reply to this post

tolushayoo193471

thank you, please find the attached.

Attached Files
New folder.zip
Sign in to reply to this post

Jason ByrnesWebAssist

in the authenticate user behavior, on the database tab, remove the User level condition. the user level should be included as a condition to login.

the user level is saved to a session, and that session is used to restrict access.

Sign in to reply to this post

tolushayoo193471

thank you jason, I've now done what you said, it works now but the access level is not working properly
1) it's allowing the staff to login but have access to page that is only meant for the administrator
2) it's not login the administrator to login at all

Sign in to reply to this post

Jason ByrnesWebAssist

1) Send a copy of the page intended for admins

2) to troubleshoot, add the following to the login page:

php:
<?php 

echo("<pre>");
var_dump($_SESSION);
echo(
"</pre>");
?>



after trying to login it should show the sessions that are set and their value. What are they?

Sign in to reply to this post

tolushayoo193471

it bring out "NULL"

see the attached admin page

Attached Files
New folder (2).zip
Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...