Click here to Skip to main content
15,888,048 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,i want to design rights module in my website, the rights-setting page may likes this :

UserName(label):

news page read(checkbox) add(checkbox) edit(checkbox) delete(checkbox)

files page read(checkbox) add(checkbox) edit(checkbox) delete(checkbox)

products page read(checkbox) add(checkbox) edit(checkbox) delete(checkbox)

users page read(checkbox) add(checkbox) edit(checkbox) delete(checkbox)

submit(button) cancel(button)

As you know,one page's code needn't to change until its function changes,but now,if I add a new page , the rights-setting page need to add a new row manually,and I delete one page ,the rights-setting page need to delete a row manually.Pls tell me is there any way let rights-set page get all of the website pages info(class name)?
.
Posted

1 solution

Session variables might help. Here take a look at these links.

http://msdn.microsoft.com/en-us/library/ms178581.aspx[^]

http://www.coveryourasp.com/Session.asp[^]

Regards,
Eduard
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900