Database session problem

hey there
how are you
i faced a problem to login in my backend. try to save session in db and check it. after login action, it satored 8 rows of data in session table. :expressionless:
do know why?

any help?

this problem only occurred on my host not localhost.

Hi,

If you have many session values the framework will store accordingly.

Please go through the page before you start doing session in DB. https://www.yiiframework.com/doc/api/2.0/yii-web-dbsession

thanks for response

i use that link and run my project, everything in local is ok, i have that problem when project is online

any help? please

Post your code snippets and also a sample of the database rows.