File tree Expand file tree Collapse file tree
user_guide_src/source/libraries/sessions Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77class App extends BaseConfig
88{
9- public $ sessionDriver = 'CodeIgniter\Session\Handlers\DatabaseHandler ' ;
9+ // ...
10+ public $ sessionDriver = 'CodeIgniter\Session\Handlers\DatabaseHandler ' ;
11+ // ...
1012 public $ sessionSavePath = 'ci_sessions ' ;
1113 // ...
1214}
Original file line number Diff line number Diff line change 66
77class App extends BaseConfig
88{
9+ // ...
910 public $ sessionDBGroup = 'groupName ' ;
1011 // ...
1112}
Original file line number Diff line number Diff line change 66
77class App extends BaseConfig
88{
9- public $ sessionDiver = 'CodeIgniter\Session\Handlers\RedisHandler ' ;
9+ // ...
10+ public $ sessionDiver = 'CodeIgniter\Session\Handlers\RedisHandler ' ;
11+ // ...
1012 public $ sessionSavePath = 'tcp://localhost:6379 ' ;
1113 // ...
1214}
Original file line number Diff line number Diff line change 66
77class App extends BaseConfig
88{
9- public $ sessionDriver = 'CodeIgniter\Session\Handlers\MemcachedHandler ' ;
9+ // ...
10+ public $ sessionDriver = 'CodeIgniter\Session\Handlers\MemcachedHandler ' ;
11+ // ...
1012 public $ sessionSavePath = 'localhost:11211 ' ;
1113 // ...
1214}
Original file line number Diff line number Diff line change 66
77class App extends BaseConfig
88{
9+ // ...
10+
911 // localhost will be given higher priority (5) here,
1012 // compared to 192.0.2.1 with a weight of 1.
1113 public $ sessionSavePath = 'localhost:11211:5,192.0.2.1:11211:1 ' ;
You can’t perform that action at this time.
0 commit comments