Login Redirecting when it shouldn't be
I have two seperate auth tables and two differently named security assist login areas.
One is for the user system (front of the website)
One is for the CMS system (backend of the system)
I have applied Access pages managers for each area of the site respecitivley.
All works fine. I login to the CMS and i go to the CMS
at the same time i can login to the User table and that works fine.
Here comes the problem.
If I have not logged in on the user system and try to view a page that is restricted. It takes me to the login page as it should.
But then, if i try to login to the cms with the proper credentials, it takes me to the page on the front end that i wasn't able to acccess from the user side.
I have made sure that previous url and previous url string are unchecked on the cms login.
Access page manager rules are different for each system.
The Sessions variables for the CMS and user login are completely different.
Why is my CMS redirecting to a page on the front side, when both failed and success urls point to the cms side?
I suspect that because i have a redirect on the front side that send people too a different page if they are not logged on (using the access pages manager) the url is somehow stored and the security assist can not differentiate between the variables, so if you access a page on the front side while you are not logged in, it stores the url, then when you login on the back side, it pulls that url and redirects you too it, regardless if you have previous URL unchecked.