5
아무에게도 나에게 세션 드라이버를 설명 할 수 있습니까? "laravel session drivers"에 대한 검색 결과 다른 유형에 대한 정보가 공개되지 않았습니다. 다음 튜토리얼에서는 REST API 용 배열 드라이버를 사용하도록 제안했기 때문에 물어 보지만 이유는 모르겠습니다. 자습서 : https://speakerdeck.com/akuzemchak/simple-api-development-with-laravel?slide=62Laravel 세션 드라이버?
다음 응용 프로그램에서 해당 섹션의/설정/session.php
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option controls the default session "driver" that will be used on
| requests. By default, we will use the lightweight native driver but
| you may specify any of the other wonderful drivers provided here.
|
| Supported: "native", "cookie", "database", "apc",
| "memcached", "redis", "array"
|
*/
'driver' => 'native',
감사합니다 의미합니다! 이것이 Laravel 문서의 어느 곳에도 없다는 것은 실망 스럽습니다. –
어떻게 laravel에서 redis/memcached 드라이버를 사용할 수 있습니까? 나는 운전사가 있다는 것을 알고있다. 나는 그 운전자를 어떻게 사용할 수 있는가? – Pars
설정 파일 ('app/config/session.php')에서 드라이버를 변경 하시겠습니까? – radmen