• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue on CodeIgniter

#1
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
Reply

#2
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.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.