I have a website using cakephp. Previously admin can log on into website. Now i want to make user can log on too into website. I make different routes both for user and admin.
localhost/web/admin for admin
localhost/web/user for user
I succeeded to make user log on, but when i log on as admin at the same time then user authenticate changed into admin. When i log on as admin, and i log on as user at the same time in different tab, then admin authenticate changed into user.
How i can solve this? is that problem beacause of the session?