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 - Add calc command to Junco code - Apr 11, 2014
Resolved - Add following display options - Jun 27, 2013
Resolved - Add reading time to a post - Oct 08, 2013
Commit to GitHub 22Oct2013 - Oct 22, 2013
Resolved - Microblog post display change - Jun 27, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Apr 20, 2024 - 8:37 a.m. EDT