Computing.Net > Forums > Web Development > Getting windows username variable

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Getting windows username variable

Reply to Message Icon

Name: Andrew Squibb
Date: May 25, 2004 at 14:53:25 Pacific
OS: n/a
CPU/Ram: n/a
Comment:

I'm trying to develop something as part of an intranet, but before I get too far I need to get the name of the locally logged on user ( as in the environment variable %username% ) into a web page to be passed to an ASP page.

Being that ASP is Server Side Scripting, I would imagine the best way to achieve this would be to use java or similar on the client, which fetches the username, and the passes this to an ASP page.

Obviously this is only for use on an INTRAnet, in conjunction with a locally stored database.



Sponsored Link
Ads by Google

Response Number 1
Name: Jamie_McCoy
Date: May 25, 2004 at 15:09:28 Pacific
Reply:

do u mean automactically get their username

or prompt them to enter it?

i have been after the same thing (automatic) and have yet to find a solution using PHP and JAVA

Regards, Jamie McCoy


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Getting windows username variable

javascript and php www.computing.net/answers/webdevel/javascript-and-php/1068.html

quicktime videos in pop up windows www.computing.net/answers/webdevel/quicktime-videos-in-pop-up-windows/713.html

PHP Variables www.computing.net/answers/webdevel/php-variables-/4027.html