CodeIgniter Forums
Issue on CodeIgniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Issue on CodeIgniter (/showthread.php?tid=69997)



Issue on CodeIgniter - abhishek001 - 02-07-2018

Hello sir

while working on project , I have found an issue, in a project A there is two different portal say B and C. 

When I need to logout from C then it should be logout from B also and vice-versa.
Similarly if we don't want to logout from b , then how to handle such situation.   Currently, I am stuck in this situation.
In reality, in my case project A contain 8 portal Sad Sad  . So how to handle such situation. Even If I am routing to logout page of each portal then also it is not working.

I have tried a lot to destroy default cookie but not working in any case.

please give some suggestion how handle such a situation.

Thanks


RE: Issue on CodeIgniter - InsiteFX - 02-07-2018

Technically this is very unsafe.

But you can take a look at this:

SHARING PHP SESSION ID BETWEEN DIFFERENT DOMAINS

I highly do not recommend doing something like this because of security reasons.

Best to find away of doing it using database sessions.