-
Senior Member
- Rep Power
- 222
- Reputation
- 171
ASP ... reading username
I've created a website (with anonymous access) so wondering if it's possible to use a command to obtain a user name.
The user puts some details into a form (then submits) so I want to create a log of these details with the username recorded automatically. I can get the IP address, but would also like the user's windows logon name.
Basically, I'd like it to work like it does in Excel where you can use the Environ("UserName") command.
Is there an ASP equivalent? If not ASP, perhaps Javascript?
-
Junior Member
- Rep Power
- 0
- Reputation
- 10
Are your users part of a Domain or just from the WEB...
Senior Member
- Rep Power
- 222
- Reputation
- 171
No domain ... just the web.
After some reading - if I can't get the user's logon name, I may just use session cookies which seems like a good option.
Junior Member
- Rep Power
- 0
- Reputation
- 10
HI,
if you need get the ip address of the users log in means you need to sniff the the port and destination by creating a hash table.... in ASP.Net this can be achieved by using sniffer tool..... you can also refer code snippet.com for this .......
under the title network sniffer and connection analyser .....
because i did this as my career project ...this will create a log stat of the IP address ......
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks