Hi,
I am creating portal which contains three folders: Accounting, Production and Stock. These folders contain own files. I made own membership which working ok. In database I have table "Users" for user authentication with following columns: user_id, username,
password, department. I would like that user will be directed to file in right folder after logging (I think it will not be problem) and have not any access to remaining folders (that is problem).
Below is part of code for login
protected void button1_Click(object sender, EventArgs e)
{
int s = 0;
string h = "";
string stat = "";
string department = "";
if (checkBox1.Checked)
{ stat = "t"; }
else { stat = "f"; }
CustomMembershipProvider cmp = (CustomMembershipProvider)Membership.Providers[" ...
Go to the complete details ...