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 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类
  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM