Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

laravel 下session问题 #369

Closed
deathkel opened this issue Mar 29, 2016 · 4 comments
Closed

laravel 下session问题 #369

deathkel opened this issue Mar 29, 2016 · 4 comments

Comments

@deathkel
Copy link

我用的环境

PHP 版本:5.6
overtrue/wechat 版本:3.0
laravel版本:5.2

问题及现象

laravel下面使用3.0版本的授权
我在返回的cookie中得到了2个session,laravel-session与PHPSESSID
PHPSESSION是一个php-fpm的session
怎么样能让他不创建,似乎是因为你的依赖socialite

@deathkel deathkel reopened this Mar 29, 2016
@overtrue
Copy link
Collaborator

没用 overtrue/laravel-wechat 吧?

@deathkel
Copy link
Author

laravel我看了下,就是一个中间件吧,我自己实现了那个功能。跟原生的session没关系吧

@overtrue
Copy link
Collaborator

@deathkel 那你参考:https://github.com/overtrue/socialite#set-custom-session-manager

把 Laravel 的 Session 放进去看看

@deathkel
Copy link
Author

我试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants