2 ms·
First you probably want to make authentication stateless rather than having a server side database. Something like a cookie containing encrypt( salt + expiry +
by justincormack 16y ago
First you probably want to make authentication stateless rather than having a server side database. Something like a cookie containing encrypt( salt + expiry + username) is normal and can be validated without a database access.
Second you take your security advice from a professional not someone who does not seem to know what they are talking about.