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 - Kestrel code stats - Aug 20, 2013
Completed - Commit to github - 7Oct2013 - Oct 08, 2013
Resolved - Add Markdown support - Jul 02, 2013
Resolved - Add edit link at top of article - Sep 01, 2013
Resolved - Enhance the split screen posting mode - Aug 21, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Nov 14, 2024 - 11:43 p.m. EST