1 users online. Create an account or sign in to join them.Users
'Sessions' table in the DB has 380.000 rows
This is an open discussion with 20 replies, filed under Troubleshooting.
Search
Create an account or sign in to comment.
1 users online. Create an account or sign in to join them.Users
This is an open discussion with 20 replies, filed under Troubleshooting.
Create an account or sign in to comment.
Symphony • Open Source XSLT CMS
--with-xsl)
Correct. We aren’t doing anything different.
Cookie::set()andCookie::get()provide interfaces for just that.The data within a session is serialised, but you cannot use the
unseralize()function on it. It uses some special format specifically for sessions.session_set_save_handler()allows you to overload the built in session reading/writing functions. If you aren’t using a custom session handler, the session data is saved in a file under/tmpand becomes nearly impossible to do anything with it. We chose to save the session data in the database and doing so affords us some niceties like the ability to query the sessions table and generate the “Who’s Online” feature of this site, or purge sessions easily.The ONLY different here is one method saves to files, the other saves to the database. The data is the same, but the custom method lets us do more with it.
Apologies. You need the 2.0.8 RC code.
That’s actually a good thing! It means the garbage collection function is getting triggered. (obviously the error is undesirable). You could comment out line 140 if you didn’t want to upgrade the core code to 2.0.8