Welcome Guest, Not a member yet? Register   Sign In
The best auth library
#11

And i wanna ask a more broad question (and it's defiantly a dumb oneā˜», and i sorry but i just have not had time to thoroughly study source code of those libraries) essentially i need a really simple, and thought about making a new one myself.

So my question is - is it safe way to keep information about user's status - make a new session after checking user login and password (of course with hash and salt) that contains id.
If there is not such a session - to just simple redirect user to ath form.
Is it enough? Or it's really necessary to implement a complicated algorithm with tokens and so on.

And what is the best way to keep information about last user's activity? just manually update DB user do something each time?
Reply


Messages In This Thread
The best auth library - by vertisan - 01-01-2016, 05:33 PM
RE: The best auth library - by solidcodes - 01-01-2016, 06:00 PM
RE: The best auth library - by zjorge - 04-14-2017, 11:36 AM
RE: The best auth library - by websterridge - 04-23-2017, 07:29 AM
RE: The best auth library - by PaulD - 04-15-2017, 01:36 AM
RE: The best auth library - by Junie - 06-28-2017, 10:30 PM
RE: The best auth library - by PaulD - 06-29-2017, 12:38 PM
RE: The best auth library - by glorsh66 - 07-18-2017, 04:11 AM
RE: The best auth library - by InsiteFX - 07-18-2017, 04:38 AM
RE: The best auth library - by PaulD - 07-18-2017, 10:45 AM
RE: The best auth library - by glorsh66 - 07-22-2017, 08:30 AM
RE: The best auth library - by skunkbad - 07-22-2017, 09:49 AM
RE: The best auth library - by glorsh66 - 07-22-2017, 09:49 AM
RE: The best auth library - by mcsaygili - 08-11-2017, 07:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB