Login and Restrict access to page not working
My server recently updated to PHP 7.3.10. I'm rebuilding all the interactive database connection pages. But, I cannot get the restrict access to page from the login form to work. I always sends user to the redirect page. I've deleted all the Connection files, mmserverscripts and webassist files and reloaded new ones. I've attached the code on the two pages. What am I doing wrong?


The code looks correct to me, but it is easy to overlook something when trying to debug code by looking at a word document. Perhaps there is an issue with the session variable settings on the new server? If you send me FTP access then I could debug the actual pages and probably give more information. 
