On login page i need to check if the user has the privileges to modify or add if yes then it should redirect to other asp if not it should redirect to other asp for this i had taken three fields in database username,passwors,privil so for e.g is username is bob and password is bob and it has priviliges then allow him to enter otherwise throw a error message.I am placing code here please look at it and give me the sugguestion what to do.<BR>Thanks & Regards<BR>Bob