检查用户登录 [英] Checking the user login

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

问题描述

我有一个典型的要求,如果用户登录到应用程序并且如果他尝试从不同的机器登录,系统应该通过一条消息作为用户已经登录"而不是再次登录.

I have typical requirement that, if a user login to application and if he tries to log from different machine, system should through an message "as user already loggedin" and not to log him again.

请有人建议我可以通过哪种方式实现此要求.

Please can anyone suggest in which way i can achieve this requirement.

谢谢.

推荐答案

对于 Web 应用程序:

For Web Application :

  • 您可以将登录用户的列表存储在应用程序范围内[确保其同步]
  • 当用户尝试登录时查看地图并提示

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

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