Auto Authenticate
I am running 2000 server, sp4, IIS 5
I need to be able to autoexecute an asp page from a batch file that is placed in the windows scheduler.
I can execute the page fine, but I can't get past the authentication. How do I pass the username and password to windows via the URL automatically so this can be done without any user action? This is not a https but it uses integrated windows authentication.
View Replies
ADVERTISEMENT
I have a 2 win2k3 SP1 AD Domain controllers and a win2k3 IIS 6.0 webserver, this is not in the domain. The webserver is in a DMZ. I'm trying to make an asp page that authenticates against AD, so all my company users will have to provide the username and password, that should match AD, before going through to the next page.
View Replies
View Related
I get the user name from the login to the asp page. What I need to find out is the account active or is it disabled. Some users of the site are from the out side world these are OK. The problem is when an employee quits or is canned and their network acount is disabled. I need to find out if their account is disabled.
View Replies
View Related
I am using ASP SmartMail for an email submit form.
I have my form but cannot figure how to insert the server email authentication username and password.
http://www.aspsmart.com/aspSmartMail/
So far I have this ASP code which my HTML form goes to:
<%
On error resume next
Dim mySmartMail
Set mySmartMail = Server.CreateObject("aspSmartMail.SmartMail")
' Mail Server
' ***********
mySmartMail.Server = "mail.yourdomain.com"
' From
' ****
mySmartMail.SenderName = Request.Form("SenderName")
mySmartMail.SenderAddress = Request.Form("SenderAddress")
' To
' **
mySmartMail.Recipients.Add Request.Form("ToAddress"), Request.Form("ToName")
' Parameter
' *********
mySmartMail.Priority = Request.Form("Priority")
' Message
' *******
mySmartMail.Subject = Request.Form("Subject")
mySmartMail.Body = Request.Form("Body")
etc.. etc... -----------------------------
View Replies
View Related
I am working on a website for an intranet and need to know how I can authenticate by validating my user/password at ASP webpage against the winNT user/password. So not using a 2nd storage of passwords, but simply using the one set for login to the workstation/server.
I found one thread but it was PHP based. I did however notice some comment by alexgreg, so it makes me believe it IS possible. The thread taught me it is possible with PHP, but that it would be easier with ASP... so my question is how
Quote: Originally Posted by alexgreg You can't interface with the Windows password list via PHP, since it's a closed (but not overly secure) standard. The only way I ... the Linux machine, and then use the database for authentication. But this would be very complicated.
You could use PHP to call an ASP script on the NT server, using cURL (HTTP library for PHP) to send it the username/password and then get the HTTP response back and re-translate this into a true/false value. This would be a lot simpler than the above solution.
Very curious how to achieve this. I tried searching the web with google, but I ended up with loads of results, but I still haven't found what I need. The bold part above makes me believe it's not that hard to achieve, one just has to know how
Anyone who can help me out?
View Replies
View Related
I have had success using ASP to send out mail, however, how can I make it send mail using an external SMTP server that requires authentication?
View Replies
View Related
I'd like to set up a new web page that I'm writing in ASP so that it requires the users to authenticate using their domain accounts. The domain controller is Windows 2000 Server which is a member of my University's active directory. Does anyone know if this is even possible?
View Replies
View Related
when I turn off Anonymous in IIs I get this Error :
HTTP 401.2 - Unauthorized: Logon failed due to server configuration
This is usually caused by a server-side script not sending the proper
WWW-Authenticate header field. Using Active Server Pages scripting this
is done by using the AddHeader method of the Response object to request
that the client use a certain authentication method to access the
resource.
View Replies
View Related
I have created an appln in ASP to upload some files.and through my appln when i click the link i can view them. but if i know the path where the files are stored,i can
just type in the url in my browser and still open the file.
i want to avoid other people from viewing these files and only want them to open through my appln.How can this be achieved? Also this application is hosted a hosting company on a shared server.so not sure if there are limitations as to the solution in that environment.
View Replies
View Related
I have a server that hosts a few intranet sites. The one that all my coworkers have their Home Page set for causes their browser to authenticate, which is all good.
The one i'm working on now requires Anonymous Access in order to work, but the authentication from the first one is carrying over to the other. Can I use WWW-Authenticate to force anonymous access isntead of using it to force NTLM, Basic, etc?
View Replies
View Related
I would like to be able to pass a request to IIS to have a user name and password authenticated against my Active Directory Users database. I'm running Server 2003 however my web pages are build using ASP (not .NET).
What I want to do is to open the standard User Name/Password form (I don't know how to do that either) and then make my request and get back a True/False result. There must be a way to do that but I haven't found it after 3 hours of searching the web.
View Replies
View Related
i have a page with top frame (html) and bottom frame (asp)the top frame come with choices and then submit value to bottom asp page by submit button.how can i do it if i wish the bottom asp to run automatically in specific value when the html is loaded.then the user can change the choices after.
View Replies
View Related
Is it possible in ASP to have an Auto Fill option? For instance, if I am typing in a name and I type in the first few characters, can ASP recognize a similar name in the database and begin filling in the rest of a possible match?
View Replies
View Related
ive got an online system which allows people to enter info into a database about an absence request they have - at the same time this emails the person in charge of absences.
The form is setup now but to make it easier i want to alter the "Name" and "email" fields so they require no filling in ie - a staff members name will be chosen from a drop down list (ive done this bit fine) and then once this is done the relevant email for this person is automatically placed in the email field. This bit i am struggling with - anyone any ideas how this can be done??
View Replies
View Related
does anyone in here got an idea on how to automatically send an email message once a person signs up for a website? i'm doing a small website right now and if a person signs up on the website details about the non profit organization would be send automatically to their email.
View Replies
View Related
In my form I placed a text box, in which I want when the users writing something some choices from a database table to be presentes for example:
if they wrote
G
a drop down list to be showned which contains.
View Replies
View Related
I work for a large company and the outside supervisors are not that computer savy. The simpler the better. Each supervisor has 15 employees that he must assign work for each day(Monday through Friday and sometimes Saturday).
I am trying to create this so they can click on a button it will add 15 new records to Table A that are copied from the day before. Then they just have to update the new records with today's LocDate and a new location if needed. Code:
View Replies
View Related
I have a an url to file in one page and when user clicks, it takees them to another page, say url.asp?ID=...
On this page i want the download to that file to start automatically. the purpose of this page is to record the number of file downloads. is this possible in asp, or is there a better way of doing this?
View Replies
View Related
how to make a window explorer closed tiself like after 1 min? I think I rem there is such function available but I had forgotten the function/code...
View Replies
View Related
I would like to write an ASP script which will auto-login me to a Yahoo account or some user account which needs a username and a password. How can I make this possible using ASP?Or is there any way to get auto-login working?
View Replies
View Related
How can you get cursor to "jump" from the first field that has focus onto the following one and so on, and is it possible to do so if fields sometimes might be empty and if so how would I take care of that?And is it possible to make autotabbing if the field is not a set lenght, I have only come accross examples where the field is expecting to receive a certain number of characters?!!!
Can you use the option of auto tabbing only for input field or it can be done for select options as well?
View Replies
View Related
I am currently developing a web form for the transfer of assets between departments, which will store information in an Access database. I currently have the form created and I am working getting the transaction processing portion of it going.
Basically, there is a minimal amount of information that needs to be entered into the form and I would like the rest of the information to auto-fill. So for instance, I would enter the asset number of the asset to be transferred, and said asset's serial number and description would fill in automatically. I have go this working in Access, but I'm at a loss for how to do it with ASP.
I think that I need the script to execute after a change is made to the AssetNo field, but I have not been able to get it to work how I want. Code:
View Replies
View Related
I am in the beginning phase of a project that will require automatic email reminders to be sent out. Has anyone had any experience or suggestions that might help me get started in the right direct. My project will use the following.
ASP/VBScript/SQL Server Express
Once a record has been added the Auto Email reminders will be sent every 24 hours for the first 3 days or until the receiving party has responded to a questionnaire.
View Replies
View Related
i am auto numbering with sql in asp. my auto code worked but i am restructing my tables and i came across my auto numbered fields. my question is when you use auto number does it give an default field length in mssql and if it dose how do you specifi how long you want the field to be.
here is a sinpit of my code for a table using auto numbering.
sqlStr = "CREATE TABLE Consumer(Con_id INT IDENTITY (1,1) NOT NULL PRIMARY KEY, "&_
"Con_Fname VarChar(25), "&_
View Replies
View Related
i want to call another asp page from my aspx web page in the form load of aspx page and populate certain values in the aspx page based on the results returned from asp page.. I have to pass certain parameters like username and password to the asp page and the asp page should be submitted automatically . How to implement the form submission of asp page automatically from the aspx page. Based on the seach results, certain fields in the aspx page should be populated.
View Replies
View Related
we have an Access database of our clients. It has fields for email addresses and date of expiry of their rents. I would like to write an application that would email our clients automatically according to the dates in the database fields, giving notice that their rent is about to expire like for example, within one month.
I just would like to ask if you could somehow give me some idea or point me to a website that will give me insights. Thanks very much indeed and hoping for your kind response.
View Replies
View Related
I have no background knowledge in this area as yet.In ASP, is there a way to have a set of code to automatically redirect to another page in a given time period? eg: auto redirect to another page in 10 seconds.OR does it has to be done using javascripts or any other scripts?
View Replies
View Related
I have a form which submits it's data to a hidden page(submit.asp).Submit.asp retrieves the data and submits to the db.Immediately once it has submitted data,it will then retrieve the auto generated id for the data just submitted.(hope this will work)
Once I have retrievd the auto gen id, I want to then pass this id to *another page*. I don't want to then create the table on the submit.asp page as there is a huge amount of code there already-want to keep things clean.
How do I pass the value to another asp page?Is it something like response.redirect and how do I attach the id?
View Replies
View Related
On my website I have users create an account. After they have created the account they have to log in. Is there a way that after the user has created the account it automatically logs them in?
View Replies
View Related
I want to refresh a page every 5 mins without the users' intervention.I'm not sure that this is possible at all.
View Replies
View Related
Can I make the screen state where it is after a control is auto postback? And how?
View Replies
View Related
Just a quick question, is it possible to automatically upload files to an FTP account via ASP? Ie if you have a link say, on an ASP page, saying Upload files now... and basically this would automatically upload a set of files which will be pre-set in the code... to an FTP account for which we know the address, username, password?
View Replies
View Related
I have a few .asp pages in a framed website. I find that sometimes the .asp page reads from my cache instead of refreshing the Database fields when flipping between pages using a naviagation bar in a different frame. Anyone know a little line of code that I could place at the top of my pages that will maybe automatically refresh the page ONCE - when someone enters the page ?
View Replies
View Related