登录和注销问题 [英] Login and logout problem

查看:69
本文介绍了登录和注销问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您从应用程序注销并再次登录时..它显示一条消息,提示另一个用户已登录.

when you logout from application and login again..it display a message another user already logged in..
How to solve this problem.?

推荐答案

您在代码中扮演的逻辑可以解释吗?
看起来,当任何用户登录时,您已经在数据库中输入了一个条目.在注销时,您忘记了删除它的条目.
并检查数据库中是否存在提供错误消息的条目.
What logic you have played in you code can you explain ?
looks, you have made a entry in database when any user logged in. and on logout you have forget to delete it''s entry.
and check if there is entry in database give error message.


如果它是Web应用程序,您是否正在使用会话/全局变量?
if it is a web application, are you using session / global variables ??


这篇关于登录和注销问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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