2 Replies Latest reply on Apr 12, 2008 9:14 AM by Waleed Barakat

    Restrict Access Not working

      I have 3 folders - Admin, Private, Public

      I have 3 values for Permissions 1=Admin, 2=Private, 3=Public

      I have an automatic redirect when a user logins in

      ie. a privater user logins in and is redirected to /private/index.php

      Which works great, now i placed a restrict access folder behavior to the private folder and only selected 2 for the permission (private access). Now when the private user logins in and is redirected to /private/index.php it says access denied please login.

      Why is it not allowing that person to get to that page. Ive checked the /private/index.php page and it says:

      //Start Restrict Access To Page
      $restrict = new tNG_RestrictAccess($conn_portersonline, "../../");
      //Grand Levels: Level

      Anybody have any ideas???
        • 1. Re: Restrict Access Not working
          Level 1
          Here is my session setting in Php

          Session Support enabled
          Registered save handlers files user

          Directive Local Value Master Value
          session.auto_start Off Off
          session.bug_compat_42 On On
          session.bug_compat_warn On On
          session.cache_expire 180 180
          session.cache_limiter nocache nocache
          session.cookie_domain no value no value
          session.cookie_lifetime 0 0
          session.cookie_path / /
          session.cookie_secure Off Off
          session.entropy_file no value no value
          session.entropy_length 0 0
          session.gc_divisor 100 100
          session.gc_maxlifetime 1440 1440
          session.gc_probability 1 1
          session.name PHPSESSID PHPSESSID
          session.referer_check no value no value
          session.save_handler files files
          session.save_path .\ .\
          session.serialize_handler php php
          session.use_cookies On On
          session.use_only_cookies Off Off
          session.use_trans_sid Off Off
          • 2. Re: Restrict Access Not working
            Waleed Barakat Level 1
            Hello Joe A Porter
            please check the "login settings" well from "developer toolbox" control panel