php - Persisting Authentication Across keep-alive Connection -
currently on website when user logged in, every webpage request have go database , check cookie confirm are, doing across keep-alive connections waste because connection authenticated, how can i, using php and/or apache, persist authentication across keep-alive connection? not possible?
just check cookie enter site connection database,
if checking ok: create session cookie unique encryption exemple
md5("name"."pass".time())) you using sql once per session ;)
Comments
Post a Comment