
Originally Posted by
ServerStorm
One technique that is used for load balancing could be used in your scenario: After a user logs in on domain A, verify their log-in, create and store a PHP session cookie in a shared database between the two sites - the 'session' database could only be used to store sessions and the two domains could you separate or no databases.
When the user navigates to domain B - query the stored session in the database and then verify it using the same logic as domain A. In fact the user would not have to log-in to domain B as you would carry over the session. Then just track their whereabouts as you normally do.
Of course I'm am referring to session cookies instead of client side cookies.
ServerStorm
Bookmarks