I am trying to set up a user authentication scheme with 1.3.11p1
My users are already logged in and have Session Variable "MM_Username" set. I have set this in config.ini but I cannot get this to be recognised by session.php - it says 'Undefined index'
Is this feature meant to be usable or should I try something else? Any help would be much appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately this wiki is not public. It is in a directory within the members-only area of a website. .htaccess is used to restrict access. Additionally, users log-in to identify themselves before getting access to certain php pages, and I would like to extend this log-in to cover the wiki pages, using same session.
I have set
AUTH_SESS_USER = "MM_Username"
AUTH_SESS_LEVEL = 2
also
USER_AUTH_ORDER = "Session"
I tried adding the line print_r($sess); to Session.php and found there was nothing set in the array. I then added session_start() in index.php and found it was now picking up my session variables.
However, I now have a clash in lib/DbSession/SQL.php which is attempting to change the session module's settings. Can I supress the use of the sessions table in the MySQL database?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to set up a user authentication scheme with 1.3.11p1
My users are already logged in and have Session Variable "MM_Username" set. I have set this in config.ini but I cannot get this to be recognised by session.php - it says 'Undefined index'
Is this feature meant to be usable or should I try something else? Any help would be much appreciated.
Is this wiki public?
Can I have a look at it?
Could you post your config.ini settings for
AUTH_SESS_USER and AUTH_SESS_LEVEL.
AUTH_SESS_USER = MM_Username
should be enough, but I'll have a look.
Unfortunately this wiki is not public. It is in a directory within the members-only area of a website. .htaccess is used to restrict access. Additionally, users log-in to identify themselves before getting access to certain php pages, and I would like to extend this log-in to cover the wiki pages, using same session.
I have set
AUTH_SESS_USER = "MM_Username"
AUTH_SESS_LEVEL = 2
also
USER_AUTH_ORDER = "Session"
I tried adding the line print_r($sess); to Session.php and found there was nothing set in the array. I then added session_start() in index.php and found it was now picking up my session variables.
However, I now have a clash in lib/DbSession/SQL.php which is attempting to change the session module's settings. Can I supress the use of the sessions table in the MySQL database?