What does the session table do in the PKP Harvester database, and what does the Session Management class do?
I have read about this in the technical reference, but it doesn't answer my questions:
1. Does session information only get recorded for users who log in to the website, or for all users?
2. Can I turn it off? Our policy is to not maintain session information if we can at all help it.)
3. Why are people turning up at the site and getting errors like the one below?
Error observed after logging in to our demo website (Solaris/Oracle environment):
- Code: Select all
DB Error: ORA-12899: value too large for column
"DB_PKP"."SESSIONS"."IP_ADDRESS" (actual: 21, maximum: 15) Stack Trace:
File: /opt/u01/local/pkp/classes/session/SessionDAO.inc.php line 80
Function: sessiondao->update("INSERT INTO sessions (session_id,
ip_address, user_agent, c...", Array(8))
File: /opt/u01/local/pkp/classes/session/SessionManager.inc.php line 79
File: /opt/u01/local/pkp/classes/session/SessionManager.inc.php line 106
File: /opt/u01/local/pkp/index.php line 39
File: /opt/u01/local/pkp/index.php line 58