The public account can only have one domain name. I retain the domain name of the previous TP, so how should I solve the problem of laravel session judging user information? Is there any good method?
我想大声告诉你2017-05-31 10:35:17
It is impossible to share sessions. If it is a simple process, it can be like this. After logging in to the main platform or after authorized login, assemble the username and password, echo js script, and script link corresponding to the login method of the laravel project and bring the login parameters. and token, perform login asynchronously, and write to session.
echo '<script src="http://www.babc.com/login.php?token=asdfasdfasdfasdfasdfadsfasdfasd"></script>';