登录错误只能使用spesefic用户登录 [英] login error can login with spesefic user only

查看:151
本文介绍了登录错误只能使用spesefic用户登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个非常奇怪的问题







i可能有数据库3用户

第一个:id = 4,用户名= hanan,密码123

第二个:id = 1005,用户名= nono,密码= 555

i不知道为什么id = 1005之后4

这不是我的问题





问题是当我向用户登录我的网站时,一个hanan

网站是berfect而datalist绑定到我从数据库中检索的数据

但是当我使用第二个用户登录页面不会从登录页面重定向到主页

没有错误出现在我身上但是当我调试时我发现数据列表没有绑定

i have a very strange problem



i have in may data base 3 users
the first one :id=4 ,username=hanan ,password 123
the second one :id=1005 ,username=nono ,password=555
i do not know why the id =1005 after 4
put it is not my problem


the problem is when i login to my website with the user one "hanan"
the site is berfect and the datalist bind to my data that i retrive from database
but when i log in with the second user the page doe not redirect from the login page to the home
there is no error appeare to me but when i debug i find that the data list does not bind

推荐答案

因此,登录没有问题。可能是你错误的绑定datalist。

请检查你绑定datalist的功能
So, there is no problem with login. May be yor are binding datalist in wrong way.
Please check your function which binds datalist


这篇关于登录错误只能使用spesefic用户登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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