我想为2个不同的用户使用单独的用户帐户 [英] I want to use separate user account for different-2 users

查看:74
本文介绍了我想为2个不同的用户使用单独的用户帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

让我再次清理...
很抱歉以前的不一致

我正在开发一个网站,用于维护gmail之类的用户帐户.我希望该用户可以在该网站上上传数据,编辑数据,删除数据,并可以创建一个新帐户,以及他/她想要的任何身份以及我想看到的管理员每个用户的所有修改.为此,我应该在那使用什么,如何维护该帐户.应该为每个用户使用Different-2页面,还是应该从同一页面的后端获取差异数据.用户.如果是,那么如何?... plz可以帮助我,因为我只是在开发此程序.







THANX ..:confused:

Let me clearing again...
sorry for previous inconsistence

I am developing a website like for maintaining users account like gmail .that where I want that the user can upload data,edit data,delete data and may create a new account as well whatever he/she want and as an administrator I want to see all modification by every user.For this what should I use on there,How i maintain that accounts.Should i use there Different-2 page for every user or should i fetch the data from back-end in same page for diff. users.If yes then how ?... plz help me coz i am only developing this..







THANX..:confused:

推荐答案

我对您的问题不太清楚,但让我澄清一下我认为您可能有疑问的一件事.

会话变量是为每个客户端分别创建的.
I am not quite clear with your question but Let me make you clear about one thing that I think you may have doubt.

Session variable is created for each clients separately.


我认为您必须定义用户角色,无论是否为Admin..
每次用户登录时,请检查用户角色..
i think you have to define user roles whether Admin or not..
Every time user login check the user roles..


这篇关于我想为2个不同的用户使用单独的用户帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆