What is the best and safest way to work when writing an authentication library in model manager mode?
Is it hard for me to track user activity and remember users through a cookie or store sessions in a database?
Thank you in advance:).
If you want to use sessions, you can protect them from attacks such as session fixation and session hijacking .
, , . (, ) . (, IP-), . , Trending.
- . , .
PHP SESSIONS.
just session_start(); script $_SESSION .
, $_SESSION, , ( ). , memcached .
, , " ". cookie URL- ( start_session).