asp classic登录时获取用户IP [英] asp classic get user IP When login

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

问题描述

我们有一个员工出勤系统.它是使用ASP A Classic编写的,具有MS ACCESS数据库,其中存储着用户信息和登录时间.

We have a staff attendance system. It's written in asp classic with MS ACCESS database where its store users info and their login time.

我想再添加一件事,在这里我可以看到用户登录时所在的工作站IP地址.

I want to add one more extra thing, where I can see the users workstation IP address from where they login.

我们认为,即使他们不在办公室,也有人正在登录.

We believe that some one is logging in for some one else even they are not in office.

如何获取工作站IP地址?

How to get the workstation IP address?

我们的用户网络中大约有25个客户端.每当他们到达办公室时,都必须登录LoginStaff出勤系统,出勤登录页面

we have around 25 client in a user network. when ever they reach the office the have to login to LoginStaff Attendance System, Attendance login page

当用户在MS Access数据库中登录其写入内容时,如下所示.工作人员出勤数据库

when ever the user login its write in MS Access database as below.Staff Attendance Database

我们认为某人甚至在上班之前就正在参加某人的出勤,以表明他准时出勤

we think someone is attending attendance for someone before he even arrive into office to show he was on Time

推荐答案

您可以使用

Request.ServerVariables("REMOTE_ADDR")

获取远程IP地址

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

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