mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-25 03:01:21 +08:00
@@ -131,7 +131,7 @@ session classes implementing different session storage:
|
||||
|
||||
* [[yii\web\DbSession]]: stores session data in a database table.
|
||||
* [[yii\web\CacheSession]]: stores session data in a cache with the help of a configured [cache component](caching-data.md#cache-components).
|
||||
* [[yii\redis\Session]]: stores session data using [redis](http://redis.io/) as the storage medium
|
||||
* [[yii\redis\Session]]: stores session data using [redis](http://redis.io/) as the storage medium.
|
||||
* [[yii\mongodb\Session]]: stores session data in a [MongoDB](http://www.mongodb.org/).
|
||||
|
||||
All these session classes support the same set of API methods. As a result, you can switch to use a different
|
||||
|
||||
@@ -12,7 +12,7 @@ Since there's typically only one webroot it is recommended to use basic applicat
|
||||
|
||||
### Add extras for webserver
|
||||
|
||||
If webserver used is Apache you'll need to add `.htacces` file with the following content to `web`
|
||||
If webserver used is Apache you'll need to add `.htaccess` file with the following content to `web`
|
||||
(where `index.php` is):
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user