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

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

问题描述

我们有员工考勤系统.它是用 asp 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天全站免登陆