Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 30th, 2006, 09:55 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default Detect Username

Hey guys,
   I am not sure if this can be done via ASP but I am going to ask anyway. I have been asked to write a web application that will be free standing on ~10 laptops (each laptop will be running IIS Personal and MySQL) and will, at all times, only have 1 concurrent user connected to it. What I need to know, since the server is the localmachine, is it possible for me to capture what user is logged into the application?

I know how to capture domain usernames when people access application on an internal network but this will not work in this case because the laptops wont necessairly be connected to the domain when the application is accessed. So what i am asking is there a way for me to request [localmachine]\[username]?

"The one language all programmers understand is profanity."
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================
 
Old March 30th, 2006, 03:15 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

http://www.tek-tips.com/viewthread.cfm?qid=831679
http://www.tek-tips.com/viewthread.cfm?qid=1181654

 
Old April 12th, 2006, 02:20 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

thanks benson, but neither of those examples help me out. I have page level tracing turned on and all of the variables that give me information about the connected user are empty?? Does anyone know how to resolve the currently logged on user of a PC? (This may seem weird for ASP but the application the will be executed directly from the server) Any suggestions?

"The one language all programmers understand is profanity."





Similar Threads
Thread Thread Starter Forum Replies Last Post
username.website.us williamwyndham General .NET 1 May 27th, 2008 09:20 PM
Username Changes Ben Horne Forum and Wrox.com Feedback 2 March 12th, 2004 12:20 PM
Getting a Client Username jenty_c Pro JSP 0 February 5th, 2004 02:09 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.