drt96856 2014-02-12 05:25
浏览 58
已采纳

我在哪里将管理员登录页面放在我的网络应用程序上

i just want some insights or advice for my web app. I'm currently working with an web application for a school more like a student portal where in a student can login their account, and then view their grades and some other stuff. All the user page is done and now i need to work more on the admin page. My question is:

  1. Do i need to use the same login page as used by the user (student) and then redirect to admin page if the user is admin?

  2. Or just create a separate login page for the admin?

  3. Or is it good to have a separate folder for the admin like http://localhost/portal/admin/?

I hope that you would get my point :D . I just need some advice from any of you who already done some admin page. Thanks in advance.. :D

  • 写回答

2条回答 默认 最新

  • dongmen1925 2014-02-12 06:01
    关注

    It is better to make admin in different folder, But If you are keeping all user in one table of database for student and admin then you can go for 1 login page and after login success you can redirect to admin or student by checking type of user.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 请问如何在openpcdet上对KITTI数据集的测试集进行结果评估?
  • ¥15 powerbuilder中的datawindow数据整合到新的DataWindow
  • ¥20 有人知道这种图怎么画吗?
  • ¥15 pyqt6如何引用qrc文件加载里面的的资源
  • ¥15 安卓JNI项目使用lua上的问题
  • ¥20 RL+GNN解决人员排班问题时梯度消失
  • ¥60 要数控稳压电源测试数据
  • ¥15 能帮我写下这个编程吗
  • ¥15 ikuai客户端l2tp协议链接报终止15信号和无法将p.p.p6转换为我的l2tp线路
  • ¥15 phython读取excel表格报错 ^7个 SyntaxError: invalid syntax 语句报错