odan / session

A middleware oriented session handler for PHP and Slim 4+
https://odan.github.io/session/
MIT License
60 stars 11 forks source link

Nested Session Keys #31

Closed mat-k-witts closed 1 year ago

mat-k-witts commented 1 year ago

$userData = ['a' => 1, 'b' => 2, 'c' => 3]

If a key is set such as $this->session->set('userData', $userData);

Can I use $this->session->delete('key') to remove value for key 'c'?

odan commented 1 year ago

At the moment this feature is not supported. All write operations refer to the "root" key.