N
N
nikkon822020-01-21 07:31:03
opencart
nikkon82, 2020-01-21 07:31:03

The oc_session table is growing. How to fix?

Prompt, who faced, the table in a DB oc_session constantly grows. How to make it clean itself and delete old data?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
DevMan, 2020-01-21
@nikkon82

growing so what? does it interfere with life?
the table should be cleared independently, after a certain time.

I
imdeveloper, 2020-01-21
@link_web

Or by cron run sql query every day - for example:
Or change the setting for storing sessions in files instead of a database

S
Serge Tkach, 2021-02-18
@SergeTkach

Here is a modifier for OpenCart 3 - https://opencartforum.com/topic/157566-tablica-oc_...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question