Changes between Version 1 and Version 2 of TracDev/TracSession
- Timestamp:
- Aug 3, 2014, 7:14:16 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/TracSession
v1 v2 23 23 == Session storage in the Database == 24 24 25 The per-session data is stored in the database. Specifically in the ''session'' and the ''session_attribute''[wiki:TracDev/DatabaseSchema tables]. (The session key / cookie identifies the relevant entries in these tables.)25 The per-session data is stored in the database. Specifically in the `session` and the `session_attribute` [wiki:TracDev/DatabaseSchema tables]. (The session key / cookie identifies the relevant entries in these tables.) 26 26 27 Note: as we often manipulate both the ''session'' and the ''session_attribute''tables, there's a possibility of table deadlocks (#9705). We try to prevent them to happen by always accessing the tables in the same order within the transaction, first `session`, then `session_attribute`.27 Note: as we often manipulate both the `session` and the `session_attribute` tables, there's a possibility of table deadlocks (#9705). We try to prevent them to happen by always accessing the tables in the same order within the transaction, first `session`, then `session_attribute`. 28 28 29 29 == Session cookie ==