从ASP.net应用程序读取环境变量 [英] Reading Environment Variables From ASP.net Application

查看:96
本文介绍了从ASP.net应用程序读取环境变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我叫Vikash Gohil.

我有一个ASP.net应用程序,正在使用javascript读取客户端PC名称.

面临的问题如下.

当我最初将其安装在客户端上时,它在WinXP pro sp2和IE6浏览器下可以正常工作.

最近,客户更换了PC,现在是WinXP pro sp3和IE6.但是用于读取环境变量的代码不起作用,并且未提供客户端PC名称.

谁能告诉我是否需要设置任何权限.

请在这件事上指导我,从旧配置运行时,该应用程序仍然可以正常运行.

任何帮助将不胜感激.

在此先感谢.

Hello, this is Vikash Gohil.

I have a ASP.net Application where I am reading the client PC name using javascript.

The problem faced is as below.

When i initially installed it on the client place, it waqs working fine under WinXP pro sp2 and IE6 browser.

Recently client changed the PC and now it WinXP pro sp3 and IE6. but the code for reading environment variables does not work and it does not give the client PC name.

Can anyone tell me whether any permissions are needed to be set.

Please guide me in this matter, the application still works fine when run from the old configuration.

Any help would be greatly appreciated.

Thanks in Advance.

推荐答案

尝试本文:
http://bytes.com/topic/javascript/answers/92507-get-computer-name
Try this article:
http://bytes.com/topic/javascript/answers/92507-get-computer-name


这篇关于从ASP.net应用程序读取环境变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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