php - I have a design question. The company's official account was written in TP before. Now I want to keep the previous one unchanged and replace the modules added in the future with laravel.
世界只因有你
世界只因有你 2017-05-31 10:33:17
0
1
587

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?

世界只因有你
世界只因有你

reply all(1)
我想大声告诉你

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>';
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template