How to logout from two websites while doing so- PHP treatment control.

How to logout from two websites while doing so- PHP treatment control.

Assume there is two sites example.com & example.net in various domain names. An individual information of both these websites is similar so we can log in to both these websites with the same userid and password.

Whenever a user clicks the logout button on instance.com after that we also have to record them from sample.net. Both internet were open and logged in on the same internet browser (on various tabs).

Can you really destroy the program snacks of example.net after user logs out from sample.com?

4 Responses 4

Ever since the two websites aren’t sharing any login ideas in the middle, both is keeping separate program data, and also you cannot customize the session information of other web site.

An answer is always to write an API that communicates to the other site, to wreck the treatment information.

Case 1 : Established “instance.com” and signed in as “alice”

Read more