Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
If we have 1000 user who had done sucessful authenticated.
Out of that 500 user should allow to access Default2.aspx and rest 500 user to access the Default.aspx.?
how would i authorize such a large count of user to access the pages?
adding all the user name in the allow user tab of authorization is not feasible..
Posted

1 solution

In database mainatain a column Usertype.
Give usertype as 1 to 1st 500 and 2 to 2nd 500
and while redirecting the check the usertype and then redirect

I hope you will understand.
 
Share this answer
 
Comments
sawant parag 9-Nov-11 1:25am    
thanks ..
Can we use the above database concept to solve the Query by identifying the user to the groups or categories they belong
?
P.Salini 9-Nov-11 1:50am    
As far as i understood
if you want to maintain grouptype for users then you can use the same concept.
if you are asking for something else then ask with some more clarity.

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