Reading XML From A URL Accessible With Username/pass
I'm using this code to access XML data
Set xDoc = Server.CreateObject( "Microsoft.XMLDOM" )
xDoc.async = False
If xDoc.Load("https://usrname:pass@www.hotel.nl/xml/hotel.getCountryDetails") Then
Response.Write("OK")
Else
Response.Write("NO")
End If
set xDoc = nothing
but it says NO :'( Why?
I have a web service that I can access from IE, a Windows Application through a web reference (my LAN proxy server must be checked in IE), but not from a Web Application through a web reference (even my LAN proxy server is checked in IE).
I've got an 'include' file that is referenced in a .asp file. The include file (users.inc) needs read a .txt file (data.txt) located on another server (within the same domain). At this point, I'm not able to read that file from within the users.inc file in order to take action within the .asp file.
Is there an elegant way that I can return a value from a JavaScript function to ASP.NET? I want to have a popup confirmation dialog using JavaScript and only have a button control execute its ASP code if the confirmation is positive. I can associate the JavaScript with the button using the Attributes property and get the confirmation dialog to appear but the button control always executes.
I've got an 'include' file that is referenced in a .asp file. The include file (users.inc) needs read a .txt file (data.txt) located on another server (within the same domain). At this point, I'm not able to read that file from within the users.inc file in order to take action within the .asp file. Code:
all ive done is a very simple form to post comments onto a noticeboard......using asp and access for now, all i want to be able to do is when its submitted it also sends the Windows username of the person who has submitted it to the database automatically so i can then show it on the noticeboard.
How to use WIndows XP login username and password for ASP 3.0 Authentication, for access to a website directly without any further, second authentication by ASP page?
I have MS SQL Server database, ASP 3.0 website, and ASP 3.0 based authentication. I want to use a Windows XP username, make a table with approved usernames, check Windows XP username and password against the mentioned table, and finally - user can access the site without second authentication by ASP page. Of course - everything should work in IE.
I need to let one person view certain things without having this perons login. This person is logged in to the microsoft network. How do I get that info into a variable?
I have a problem with ("auth_user") in asp,I try to use windows username and password in asp page for limitation user access to pages, but this server variable returns empty string
i would like users to be able to login using a username and password stored in an MS ACCESS database. there is a customer table which stores the username and passwords as well as other customer details such as customer name, address etc. i would like the users to login and then when the login i succcessful, be presented with ONLY THEIR data which they can edit.
I have a Username:, Password:, Sign In and Regester Here at my Main Page. And at my Regester Page I have a First Name:, Last Name:, Address:, Date of Birth:,Status:, Country: and ZipCode. And also at my Database Name is Info.
All I want is that when a User Log In a Message will display and say's (You are not Regestered, Sign Up First...), but If he is already regestered he can sign in by using his username: and password:. Please!, can anyone give me an ASP Code on this.
I'm creating a set of new user pages for my site. At present I've got a newuser1.asp file which tests if a username exists. On failure (when the username exists) it goes an almost identical copy of the file and the user has to try out a new username and password.
This seems rather inelegant (having to upkeep two files) so I'd like to have just the one page with the failure redirecting back to itself but then displaying appropriate wording ('the username exists.so that I can try to work out an appropriate solution?BTW I'm using ASP VBscript.
i set up a login page and when the user logs in he/she is directed to the main site. What I wish to know is how can I show the user name that is logged in the main site:
how to insert the current user's username and machine name into a couple of textboxes to be inserted into a form. I'm creating a work order system and I would like the form to be prepopulated with this information.
I am developing a website with username and password. I have almost complete it. I want that once username and password is verify in the next page that open (SMS Page) should contain the same username in in FROM field and user cannot change it.[IMG]D:usmanusman.bmp[/IMG] i think this picture will help you to understand in depth.
It displays the following User name: Cable/rmirto7777. Now I would like to remove the Cable/ part and just keep rmirto7777 only. Keep in mind that Cable/ part doesn't change only what comes after it and everyone has a different User name. Therefore it changes constantly! I tried alot of ways by using the function but came unsuccessful. Does anyone have any ideas on how I can achieve this goal by getting what comes after Cable/ to display on my page.
I have to develop a web application for my company in which I need to have a facility for username and password for the employees to do certain tasks. How can this be implemented in ASP. I am thinking of having usernames and passwards (encrypted) in database and when a person tries to log in, the script will compare those stored in databse to the values entered by user. But after the user has logged in, how can I make sure that the user is always logged in as user move from one page to another.
how I make sure that the user is logged out properly. Basically my main concern is that no unauthorized user can access any part of that web app.
I have a standard ASP page that is on our intranet on which I am using the request.servervariables("auth_user") variable to return the domainusername of the user that made the page request. Does anybody know how I can convert the username into the SID (S-1-5-!!!!) equivilant for it? if it is any help it is a WIn2k3 domain.
Make a page where users can enter there own username and password in order to access the memebers section, and alert them if the username has already been taken. Also need a message board like the one we're using here only i have no idea where to start I have spent 5 days online trying to find help and tutorials etc, but I must confess I'm struggling now with code overload.
we never guarded againsts spaces in a new site we built. And while checking, a couple of users registered with spaces between their usernames. e.g. afrika 1 instead of afrika_1. Could there be downside to this?
I have seen in many sites that when I enter my username/password, it displays a new page wherein it says "Verifying Username/Password. Please wait..."
I wonder what does it do behind the scene? Does it really take 5-6 seconds to verify a username/password? if yes, what code runs behind it? If no, then why they have to display that page?
I think the authentication process normally does not take more than 1 second.
I want to my web page get username from windows and use this username for limitation access of user to pages, my authentication is windows I thinks because user input username for login to windows, and auth_user has value of username I think maybe it doesn't need to get username again, but you say it's normal.