Current User That Send A Form
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?
View Replieshow 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?
View RepliesI have constructed an order form and the users will enter the informtion. I
now need to send the filled out form as an e-mail (body being the HTML with
the fille din data) to a predefined e-mail address. I know how to use CDO. I
don't want to go to another page to recontruct the HTML as the '.body'
How can I query the current user logged on to the local machine and store the username, the first name of the person, and the last name of the person in variables?
View Replies View Relatedhow do i collect current user using ldap and asp, i want to know who's doing what, so when a page loads can i check who's logged in to the domain?
View Replies View RelatedIs it possible to get the current user that is logged on to the computer? I
want to use this as the basis of my validation on the site instead of asking
them to login in again. I know it could be a security issue if they keep the
computer unattended.
I have my webpage (ASP) in domain (IIS 6.0).I need to make a popup with fullname of current user.How can I do this?Maybe someone have any examples?
View Replies View RelatedDoes anyone have a link for me of how to set up the obj.From address in a CDOSYS asp to be from the currently logged in user's email account, instead of having a field (Request.Form) capture that information?
View Replies View Relatedi use the comparison to know the current user but still dont get it.. how can i get the info by enter their name and then by comparing the their id with the other table id ..
and i want to ask how we know the user id and how to call user id because i assign user id with autoincrement number. and is it we can use the application statement to compare?
'Open all records
id2 = "SELECT pelajar.noic FROM pelajar WHERE pelajar.noic <>0"
Set rs = connect.Execute(id2)
if Session("noic")<>rs then
//fill page
else
//show.asp
How would I send an email to someone from a webpage with a link to the
current page? I've seen this where you can put in your email, the person's
email that you are sending teh page to, a subject for the email, and a
message along with the link.
is it possibile to retrieve the current Windows User Handle from ASP code?
I would like to retrieve the correspondent in ASP for thi piece of ASP.NET
code:
WindowsIdentity id = HttpContext.Current.User.Identity as WindowsIdentity;
if (id != null)
{
IntPtr handle = id.Token;
}
I need to pass "handle" variable to a .NET method (using interop).
How to get the Windows current logged user name using Classic ASP. If no direct way are there any work arounds.
View Replies View RelatedResponse.Write(Request.ServerVariables("AUTH_USER"))
Response.Write(Request.ServerVariables("LOGON_USER"))
i have tried the above and get no output.
I need to check to see if the Current logged in user on the system
is a member of a group called CustAdmin on CustNT Domain.
If the user is, I need to allow them to have access to the following:
Code:
<br><br>
<input type=Button value = "Click To View Credit Report"
</form>
<hr>
This is a Windows 2000 network.
I need to get the current logon (to AD) user name on ASP level. Is there any ActiveX (ocx,dll) object in windows directory, which I can use? I used the nwdir.dll file to get this name from novell directory with ndap....
View Replies View RelatedI'm working on a logon script that needs to query AD for the current user's information. Phone numbers, email address, etc. One thing that makes it a little bit more difficult is that I don't have the full dn for the user; I only have the base dc and cn.
Microsoft's documentation on all of this is lacking greatly, so I've been racking my brains quite a bit.
i am trying harder to mix this 2 solutions... but without success... the below on seen to be grabing a template and replace the data with the values posted in a form Code:
View Replies View Relatedif i m the server, i had this feedback page whereby i need the user to type in the feedback in a textbox and then send it to mi. he must enter his email in a textfield and click on a button. issit possible to do that? without having to use outlook express to pop out??
View Replies View RelatedI have a MEMBERS table and a COMMENTS table I am using session varible which is rsUser in the members table, I am using this as AUTHOR of the comment so I do not know what to filter (as you can tell i am using Dreamweaver with Access database) I also do know know about what collumns to have in what table? ParentID ?
View Replies View RelatedHow can I write a program to send automated email to user's email address after they registered to my site.
I want my email has HTML format or even links. Not just one sentence.
Once the user click on the link or reply this email, their registration will be complete.
I am using ASP with Access Database.
i have a form that needs to submit to the current url.
<form action="CURRENT URL???"
Code:
Set cdoMessage = Server.CreateObject("CDO.Message")
Set cdoMessage.Configuration = cdoConfig
cdoMessage.From = "admin@nyc-discusfanatics.com"
cdoMessage.To = strEmail
cdoMessage.Subject = "NYC-Discusfanatics.com User Registration"
cdoMessage.HTMLBody = "<html>" &_
"<body>" &_
"Hello "&strUName&"<br/><br/>" &_
"Thank you for registrating with NYC-DiscusFanatics.com Please activate your account by clicking the link below.<br/><br/>" &_
"<a href='http://www.nyc-discusfanatics.com/face/dragonball/AccountActivate.asp?UserID="&strID&"'>Activate my account.</a>" &_
"<br/><br/>Thanks for your registration." &_
"<br/><br/><br/>Vincent" &_
"<br/><br/>Administrator of NYC-Discusfanatics.com" &_
"</body>" &_
"</html>"
cdoMessage.Send
Set cdoMessage = Nothing
Set cdoConfig = Nothing
I got return email that the mail fail to deliever to AOL user. I assuming AOL email doesn't accept ASP script embedded in the email?
I have created a New Users registration form for my database. The User enters there details such as email, account, name etc, and then clicks a Register button. This should send an e-mail to the User with a link for them to click to activate there account.
When i click on register however, i get a page not found message. When i try to diplay my Confirmation page, i get the error mention ed above.
How to get/set and send the HTTP Headers(user-defined) coming from another domain/site]
In one SMS gateway project i need a great and urgent help from u all. There,the Service Providers sending the data thru "HTTP Headers" (For ex.sms-Id,sms-source [user defined]).
So i need to get and parse the name value pairs, and need to respond/send the same way as coining the "HTTP Headers" (For ex. sms-Id,sms-destination,sms-msg [user defined]).
When someone buys something on my site from a detail page, I show them a cart. When they hit continue shopping, the only option I have right now is to take them back to the detail page. What I really would like to do is take them all the way back to the catalog page they used to get to the detail.
View Replies View RelatedHow can i send an Email using ASP, i mean, let's say a user is registering .I want to send him an email with his user info,is it Possible?
View Replies View RelatedI want an automatic email to send to a user when they register, the first page looks like this, i took away all the table information and what have you ....
View Replies View Relatedim tryin to secure my application. i want the application to send the user back to the login page if they have not logged into the system. do i use the global.asa file or is there a simpler way to do this?
View Replies View Related<input type="hidden" name="date" value= (Date)>
When I use:
<% Response.Write (Date)%> if returns the date I want.
I need to enter it to this date value in my form. What is wrong with my code above? It should be obvious, but I can't figure it out....
my form contains two text fields(name, address) and two file field control where user can insert image(photo1 and photo2), i want to insert this data in to ms access when the user submits the form?
this is my code for insert text fields to access data base.but i have no idea about the code for image fields. In my access data base i set photo1 and photo2 as herf (binary data). Code:
When I click submit, everything looks fine, but it doesn't seem to send an email. I'm now at a complete loss as to why it won't email and would be grateful if someone would have a look to see if they can see where I'm going wrong, here's what I have. I wonder if it's the HTML that's wrong or the ASP as I don't have any error messages: Code:
View Replies View RelatedI'm trying to retrieve the data off a form (survey.htm) and email the results
back to me using CDO and ASP (survey.asp). I'm confused as to how to
retrieve the form data from survey.htm and send it using survey.asp. Below is
a sample ASP script that I found on ASPFAQ.com and it works fine, but now how
do I grab the info from a form and incorporate it into the emal. Code:
Basically I have a page and I would like to have several forms on this page where a user can input thier email address and a short comment, then click on send and i get n email with the details.
I know how to set up a basic form but I have no idea how to send it, can anyone help me and show me what to put where to set this up on brinkster please.
Oh and I would prefer to use ASP if thats possible.
how can I send the whole form using the script below, without listing every NAME of the form. Basically I wondered if you can just put a certain code in that will send all the fields of the form without putting each NAME of the fields down indiv individualy??
My forms Name is 'conf', so I was wondering if there was a code like SENDWHOLEFORM="conf", (I know it obviously won't be that, but just to put the point across!)
<%
DIM strNAME, Mailer
strFirstName = Upload.Form("NAME")
Set JMail = Server.CreateObject("JMail.SMTPMail")
JMail.ServerAddress = "10.2.3.2"
JMail.AddRecipient "me@me.com"
JMail.Sender = "me@me.com"
JMail.Subject = "Submitted Item to sell"
JMail.Body = "Name: " & strNAME
JMail.Execute
Set JMail= Nothing
%>