Resolved - Add session id

completed on June 6, 2013

This now prevents the same user account being logged into the site on more than one device or more than one type of browser and posting/updating content.

The session id gets updated in the db table each time the user account is logged in.

At the moment, I cannot see a reason to be adding or updating content from the same account at the same time from multiple devices or in multiple types of browsers on the same device.

When logging in, create a session id that could be based upon the user's digest and the current date in epoch seconds.

Store session id in a new database column in the user table.

Send session id to client.

Retrieve session id from cookie.

Compare cookie session id with what's in the user table.

#junco
#resolved

From JR's : articles
140 words - 776 chars
created on
updated on
import date 2013-08-12 21:50:25 - #
source - versions

Related articles
Resolved - Fix RSS encoding problem - Jun 27, 2013
Resolved - Make enhanced textarea blog post feature work with blog replies - Jun 27, 2013
Resolved - Auto-place cursor on input fields - Jul 22, 2013
Add title to microblog posts - Oct 07, 2013
Resolved - Add private blog count - Jun 27, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Jan 12, 2025 - 10:28 a.m. EST