yiisoft / yii2-redis

Yii 2 Redis extension.
http://www.yiiframework.com
BSD 3-Clause "New" or "Revised" License
452 stars 183 forks source link

feat: Added support to set a scheme for keys of Session #253

Closed githubjeka closed 1 year ago

githubjeka commented 1 year ago
Q A
Is bugfix?
New feature? ✔️
Breaks BC?

see https://redis.io/docs/data-types/tutorial/#keys

Now session in Redis storage like list of keys image

Some GUI Redis support schema for key. Useful when big data.

image

But redis session component can't save data by schema for key. PR makes it possible

rob006 commented 1 year ago

But redis session component can't save data by schema for key.

AFAIK setting keyPrefix to something like session: will give the same result without introducing additional config to this component.

githubjeka commented 1 year ago

overworked