且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在登录到与他有关的页面后重新命名用户

更新时间:2023-12-02 11:09:28

请看到我对这个问题的回答。解决方案3 [已解决标记]。



在登录Asp.net C#之前无法访问我网站中的任何网页 [ ^ ]

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.

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#[^]