473,503 Members | 12,516 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Currentuser that send a form

Dax
Hi,
how can Identify a domain user that send a form made with ASP.
I have see that exist a variable called currentuser, but what does it
mean?

Thanks in advance,
Dax

Mar 20 '06 #1
5 1593

"Dax" <pr********@libero.it> wrote in message
news:11**********************@i40g2000cwc.googlegr oups.com...
Hi,
how can Identify a domain user that send a form made with ASP.
I have see that exist a variable called currentuser, but what does it
mean?

try

Request.ServerVariables("AUTH_USER")

Thanks in advance,
Dax

Mar 20 '06 #2
Dax
If I create a program where in it it's written:
dim user
user=Request.ServerVariables("AUTH_USER")
Response.Write(user)
I print the correct name or I must written something else?
Thanks for your interesting,

Dax

Mar 20 '06 #3
Dax wrote:
If I create a program where in it it's written:
dim user
user=Request.ServerVariables("AUTH_USER")
Response.Write(user)
I print the correct name or I must written something else?
Thanks for your interesting,

Dax


I generally use "LOGON_USER" instead of "AUTH_USER"
This ServerVariable will only contain a value if Anonymous access is
disabled for your website.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Mar 20 '06 #4
Dax
Yes but how can I "put" my name inside that variable (LOGON_USER)? I
must click on a logon button?

Thanks in advance

Mar 21 '06 #5
Dax wrote:
Yes but how can I "put" my name inside that variable (LOGON_USER)? I
must click on a logon button?

Please quote the message to which you are replying so I don't have to go
back and read the previous messages in the thread.

Anyways, that variable is automatically populated if you have Anonymous
access turned off on your site. There is no need for you to do anything else
to put anything into it.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Mar 21 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
11162
by: DigitalRick | last post by:
I have been running CDONTS in my ASPpages to send emails to me sent from my guestbook. It had been working fine untill I upgraded to Server 2003 (I am also running Exchange 2003) all locally. I...
2
1477
by: Mark Flippin | last post by:
I'm converting an Access 2000 database (fe/be) to a SQL Server 2000 backend. This is a quick and dirty conversion, using linked files via a file dsn, and is to be completed ASAP with minimal...
1
2129
by: Miguel Dias Moura | last post by:
Hello, Can you help me out in making this work? What I want is as simple as sending form values to an email. The code I am using is the following:
9
3126
by: eswanson | last post by:
I have a web page I need to post a file plus some other fields to it. How can I do this from a asp.net page. I know I can send individual fields to the other page, but how do I send a file to the...
6
3280
by: reidarT | last post by:
How do I get current user logged in with vb.net code? reidarT
6
6883
by: Harshpandya | last post by:
Hi all, I am working on the form in which you fill out the whole PHP form and e mail that details to someone. It is working fine. But now i want to send the same form to be sent to different...
2
5336
by: PowerLifter1450 | last post by:
Hi all, I have fields in my tables which get updated to the UserName when someone inserts/updates records through a form. However, I have created append queries that are importing records to the...
10
2507
by: Mourad | last post by:
Hi All, CurrentUser() returns null when called from a form event handler, at least from Form_Open()! However, it works fine in other forms! Use Application.CurrentUser seem to work, but I'd...
3
1444
by: JohnHo | last post by:
This is probably simple but this is the last feature for an db app and I am stumped (read fatigued). I have created users with the Access security feature. Additionally, I have a lookup table...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7296
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7364
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7017
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7470
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5604
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3186
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
405
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.