04-23-2018, 09:24 AM
You have two options:
-Make the Product A product detail page public
-Syncronize your User Tables between the two projects and build system that will authenticate the user without them actually logging in. You could:
/ Duplicate your DB class and write to the other DB with a random hash
/ Include this hash in the URL with some form of encryption that you can decrypt on the other side-but only your server knows what level of encryption you used
/ If !$user->isLoggedIn() get the hash from the URL, decode & decrypt it, check the hash against the DB to see what user you need to login as, add their ID to the Sesssion, and refresh the page with just the ID.
Good luck,
Brandin.
-Make the Product A product detail page public
-Syncronize your User Tables between the two projects and build system that will authenticate the user without them actually logging in. You could:
/ Duplicate your DB class and write to the other DB with a random hash
/ Include this hash in the URL with some form of encryption that you can decrypt on the other side-but only your server knows what level of encryption you used
/ If !$user->isLoggedIn() get the hash from the URL, decode & decrypt it, check the hash against the DB to see what user you need to login as, add their ID to the Sesssion, and refresh the page with just the ID.
Good luck,
Brandin.