[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 1.3 table session unique constraint on users_id ?
- Subject: Re: 1.3 table session unique constraint on users_id ?
- From: Chris Travers <..hidden..>
- Date: Wed, 7 Dec 2011 04:52:28 -0800
On Wed, Dec 7, 2011 at 4:26 AM, herman vierendeels
> Should we put a unique constraint on session.users_id to track
> session-problems as early as possible?
The session table has very limited uses in 1.3. If we are going to do
that, I would suggest doing so on a private copy first and run it for
a week or so before making the change global.
The session doesn't provide login access. All it does is track
discretionary locks and open forms (for anti-xsrf measures). It's not
critical to see a duplicate session, to be honest.