tags:

views:

38

answers:

0

hi i am using htpass and htaccess and it is working fine but now i want this:

if the user is registered, then htaccess does not play its role - mean to say that no authencation required this time; but when user is not registered then htaccess will play its role(authencation required this).

this looks like it should be a simple procedure of if-else condition, but i have no idea how can i gives the condition in htaccess. Is there any other way to implement this?

Alternatively, I could set a server variable after user login. Please tell me what should i do - either set the server variable after login, or check the condition in htaccess (and how can i do this?)