PDA

View Full Version : SecurityAssist not working on live host


kbettenc296716
03-03-2009, 12:18 PM
There used to answers to this problem on the old forum which, of course, are no longer accessible. I have everything working correctly on my localhost. I moved everything including the SecurityAssist folder to the live host and it seems as if the userLevel is no longer being retained. My instructions on the userLogin page are to go to the switchboard.php page if the login is authenticated or go to the access_denied.php page if it is not. On the localhost the login is successful and I go to the switchboard.php page. In the live environment, I go to the access_denied.php. When this was happening on the localhost, I had forgotten to add the UserLevel to the "authenticate user server behavior" session variables. Once I did that, it worked. Then I published all the pages and associated files to the live server and it isn't working.

Ray Borduin
03-03-2009, 12:34 PM
There is no logical reason this would happen. The only thing I can think of is that the live server has a different database so that user isn't registered yet. Really there is no reason it would work on localhost and not work on the live server if you uploaded all of the files.

kbettenc296716
03-03-2009, 03:21 PM
Before I transferred the files I checked the mySQL database to see if the users were there (they were added before I installed security) and they were still there.

However, I just added a new user and it works fine. So I deleted the old users, and added new users.

Whew!

Thanks