SQLCRUD and login using embedded database
Posted: Mon Mar 24, 2025 12:42 pm
Hi,
Am I correct to assume that I cannot use both SQLCRUD and a 'Protect page' extension on the same page without amending the system generated code? I have created a database to be accessed by a small number of members, and I'm using an embedded database to control access. I have a separate login page that directs these members to the database input screens, but when I put a 'Protect page' extension onto the same page as an SQLCRUD extension, I get the system generated message:
"Notice: session_start(): Ignoring session_start() because a session is already active (started from /homepages/34/d472519093/htdocs/cawos/testform/Projects.php on line 7)....."
I've done some coding in the past (not php!), and I'm happy to learn to amend the code to prevent a new session being created when a user goes to one of the database input screens, but I don't want to do this if there's a simpler answer, or if amending the code is unlikely to work.
Regards,
Geraint
Am I correct to assume that I cannot use both SQLCRUD and a 'Protect page' extension on the same page without amending the system generated code? I have created a database to be accessed by a small number of members, and I'm using an embedded database to control access. I have a separate login page that directs these members to the database input screens, but when I put a 'Protect page' extension onto the same page as an SQLCRUD extension, I get the system generated message:
"Notice: session_start(): Ignoring session_start() because a session is already active (started from /homepages/34/d472519093/htdocs/cawos/testform/Projects.php on line 7)....."
I've done some coding in the past (not php!), and I'm happy to learn to amend the code to prevent a new session being created when a user goes to one of the database input screens, but I don't want to do this if there's a simpler answer, or if amending the code is unlikely to work.
Regards,
Geraint