登录Web应用程序时,此人应仅查看其数据 [英] When Login to web app ,the person should see his data only

查看:101
本文介绍了登录Web应用程序时,此人应仅查看其数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨我想要一个功能,每当新用户登录系统时,他应该能够查看他的数据而不是其他数据,在他的登录中,如何实现这个







pls helppppp ............................ .......

解决方案

这是您的业务逻辑!

您知道实际用户,您知道数据。

你需要一种方法来匹配它们或在它们之间建立一个链接。



有了详细信息,给你更多的建议会很复杂。



[更新]

您的问题是您需要了解SQL的工作原理,并且答案不会这样做。

您的问题与如何在发票标题及其详细信息之间建立链接具有相同的基本解决方案。

具体来说,您需要了解如何设置2个表之间的关系。

hi there i want a functionality that whenever a new user logins to system ,he should be able to view his data not other data ,in his login ,how to achieve this



pls helppppp...................................

解决方案

This is your business logic !
You know the actual user, you know the data.
You need a way to match both or build a link between them.

With out details, it will be complicated to give you more advice.

[Update]
Your problem is that you need to learn how SQL works, and an answer will not do it.
Your question have the same basic solution that how to have a link between an invoice header and its details.
Specifically, you need to learn how to set a relation between 2 tables.


这篇关于登录Web应用程序时,此人应仅查看其数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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