Commit 22dac1af by Qiang Xue

wording fix [skip ci]

parent 08d0a1ac
...@@ -174,7 +174,10 @@ where 'BLOB' refers to the BLOB-type of your preferred DBMS. Below are the BLOB ...@@ -174,7 +174,10 @@ where 'BLOB' refers to the BLOB-type of your preferred DBMS. Below are the BLOB
- PostgreSQL: BYTEA - PostgreSQL: BYTEA
- MSSQL: BLOB - MSSQL: BLOB
Note that length of id column should be adjusted if `session.hash_function` is changed in `php.ini`. > Note: According to the php.ini setting of `session.hash_function`, you may need to adjust
the length of the `id` column. For example, if `session.hash_function=sha256`, you should use
length 64 instead of 40.
### Flash Data <a name="flash-data"></a> ### Flash Data <a name="flash-data"></a>
......
...@@ -66,7 +66,9 @@ class DbSession extends Session ...@@ -66,7 +66,9 @@ class DbSession extends Session
* When using DbSession in a production server, we recommend you create a DB index for the 'expire' * When using DbSession in a production server, we recommend you create a DB index for the 'expire'
* column in the session table to improve the performance. * column in the session table to improve the performance.
* *
* Note that length of id column should be adjusted if `session.hash_function` is changed in `php.ini`. * Note that according to the php.ini setting of `session.hash_function`, you may need to adjust
* the length of the `id` column. For example, if `session.hash_function=sha256`, you should use
* length 64 instead of 40.
*/ */
public $sessionTable = '{{%session}}'; public $sessionTable = '{{%session}}';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment