Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have web application my query are.
1.i have 3 table in sql database name role,PageAccess,and UserLogin.
2.in PageAccess table i have columne name after web pages.and their data type is bit(Boolean),
3.user login access is granted by using Userlogin table,where its name,password, and role id columns are used.
My Question is that how a user is redirected to a page by checking his status from PageAccess table(where by using 1 or zero true/false)we are allowing him or denying his access to that page, after his successful login.
admin has full access to all pages.
how from start i can manage it.
Posted
Comments
[no name] 31-Aug-14 18:18pm    
You have already been told this in your previous 4 repostings of this same thing.
Sajid227 31-Aug-14 19:44pm    
bro is any problem with you>> if i am posting Question,its mean may be i'm getting what i want??/or any one else ask me to explain Question,if u got my point then explain me answer, i donot like u start counting my posts.be care full
[no name] 31-Aug-14 21:14pm    
Threatening me? What exactly are you going to do? What is it to you if I point out that you are abusing the system? You are not getting "what you want" because you are not explaining what your problem is! How hard is that for you to understand? Reposting the same thing over and over and over is not going to get you any different answers than you already have. You need to actually try something before you can have a problem. You have tried nothing at all, you have not asked a legitimate question, you have not explained any kind of a problem despite repeatedly being requested to explain yourself. All you have done is reposted this same vague thing over and over and begged for code. What have you done? What code have you written? What is the problem with the code that you have written? Have you even bothered to read the FAQ yet? Probably not. You are just trying to get people to do your job for you and abusing the system.
Sajid227 31-Aug-14 21:48pm    
if getting knowledge from any one is begging then i am biggest beggar ,and if u feel pain of posting and system abusing teasing u then ans me and become a good teacher,all we here playing for good reason
Sajid227 31-Aug-14 21:51pm    
keep cool down ,u r my senior i respect u ,if can help that makes me thankful to you.

1 solution

Please see my answer on this question. It is Solution 3 [Solved Marked].

Can not access Any Web Page in my website before Login in Asp.net C#[^]
 
Share this answer
 
Comments
Sajid227 1-Sep-14 6:31am    
bro i have done this,and this is working fine on each page,my requirement is ahead of this. i want after doing this user will only see that page and enter the data in that form which is allowed to him from the database table,where i store all pages name and role Id against each page,hope you got point?/

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