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?
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.
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.