Session files keep being created |
For the same user browsing the site, I keep seeing many session files being generated. The session config I have is
Code: $config['sess_driver'] = 'files'; __ci_last_regenerate|i:1477076327;fb_xxxxxx_state|s:32:"45ef7d600d6b53855dd782948fd9ef26";was_prompted_for_location|b:1;location|a:3:{s:4:"city";s:3:"all";s:7:"country";s:2:"US";s:5:"state";s:3:"all";} Any ideas how this can be avoided?
Every new session creates a new file. The number can build up but do not fear. Expired session files will be deleted automatically it just will not happen very often. When it does occur things will be cleaned up nicely.
Not sure why CI treats other page visits as a new session. Same browser, just visiting other pages in the site.
|
Welcome Guest, Not a member yet? Register Sign In |