Say I have a directory protected using htpasswd called /secret
A valid user logs into /secret.
They are redirected back to a public area.
From within that public area, is there a way within PHP to know whether the current user has authenticated with htpasswd?
Thanks for your time!