|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Currentuser that send a form
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 "Dax" <praecla***@libero.it> wrote in message trynews:1142867517.363410.164140@i40g2000cwc.googlegroups.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? > Request.ServerVariables("AUTH_USER") Show quote > Thanks in advance, > 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 Dax wrote:
> If I create a program where in it it's written: I generally use "LOGON_USER" instead of "AUTH_USER"> 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 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. Yes but how can I "put" my name inside that variable (LOGON_USER)? I
must click on a logon button? Thanks in advance Dax wrote:
> Yes but how can I "put" my name inside that variable (LOGON_USER)? I Please quote the message to which you are replying so I don't have to go > must click on a logon button? > 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" |
|||||||||||||||||||||||