sync .htaccess with php session
Posted: Wed Nov 22, 2006 4:47 pm
is there any way to sync a php session with .htaccess? specifically, i would like users to log in through a php login screen and be able to avoid getting a login prompt for folders that are protected with .htaccess. i imagine a possible solution would be to set a server variable via php when a user logs in, have .htaccess check the same variable, and redirect accordingly.
i've done quite a bit of research but to no avail. can anyone tell me if this is even possible?
thanks
dshl
i've done quite a bit of research but to no avail. can anyone tell me if this is even possible?
thanks
dshl