Ticket #621 (closed Bug: wontfix)
Session Database Driver pulls from wrong table
| Reported by: | Nodren | Owned by: | - No owner - |
|---|---|---|---|
| Priority: | blocker | Milestone: | 2.2 |
| Component: | Libraries:Session | Version: | SVN HEAD |
| Keywords: | session, database | Cc: |
Description
The Session Database driver was updated in r2692 to allow for a group functionality, a new paramter $this->db_table was added, but it pulls from the wrong config value.
The Config file states that $configstorage? is the storage parameter used by drivers, which in the case of the database driver should be the name of the database table, with that revision, $this->db_table uses $configname? which per the settings is meant to be the name of the session itself.
Recommended fix: in the Session_Database_Driver construct() function change:
$this->db_table = Config::item('session.name');
to this:
$this->db_table = Config::item('session.storage');
Change History
Note: See
TracTickets for help on using
tickets.
