Asp Doc, Login Twice With Basic Authentication

I have a secure site and created an asp page to create a word doc header and footer, when a user goes to the page they get prompted to login then when they click on open they get prompted to login again.

Im guessing its something with the basic authentication and the header footer files being in different locations.

View Replies


ADVERTISEMENT

Basic Authentication No Prompt Login Box

I have a problem with basic authentication. I redirect a user from a page to another.
I don't want to get the NT prompt login, I want the user to be logged in automatically.
I want to send the username/password to the page.

I have read something about cookies and sending username/password through
the header.

With the new Windows Update 832894 it is no longer possible to use
http(s)://username:password@server/resource.ext

Is there any other way to redirect to another page and pass the username and
password.

View Replies View Related

IIS Basic Authentication Login Prompt

IIS raises login dialog box prompt on browser for resources protected using basic authentication. That login prompt gives user 3 attempts to enter correct userid/password. IIS throw 401.1 error if third attempt fails. Does anyone know how to change this number of attempts. Is it possible or impossible to do ?

View Replies View Related

Basic Authentication

I have an XML file which I access from a remote server like

Set http = CreateObject("MSXML2.ServerXMLHTTP")
http.open "GET","http://www.andrewlouis.co.uk/viewcountries.xml",false
http.send
strXML = http.responseText

The real server is password protected with, I think, with basic
authentication. How do I pass it the username and password.

View Replies View Related

Basic Authentication

I'm using MSXML2.ServerXMLHTTP to get a web page using an url with basic authentication (e.g. http://user:password@www.mysite.it).

Microsoft denied basic authentication within Internet Explorer URL (see KB 834489) so I'm unable to get the page contents.The client-side workaround is to change some registry settings (see http://support.microsoft.com/kb/834489), anybody can help me with a different solution ?

View Replies View Related

Setup Basic Authentication

I have setup basic authentication on one of my web sites. For some reason, I get challenged when I navigate to some of the ASP's within the website. I have checked all the pages and made sure they all have authorisation set to a specific group.

What can be causing this?

View Replies View Related

Basic Authentication And Username/password Caching

I have an asp and the IIS 5.0 basic authentication is enabled on it. The users are prompted for the username/password when they try to access the asp.

My problem is the user credentials (username/password) are cached by the browser. As a result the user is not prompted for the password/username on the subsequent attempt to access the asp.

I want the windows authentication dialog box to appear EVERYTIME. No caching. I dont want user to close the browser or force him/her to enable/disable any of its browser setting.

View Replies View Related

Login Using Basic Authentification

I need some simple component (COM+ or just DLL) source to perform Basic
Authentification for ASP solution.

Short explanation what I mean:

In non secure area I've a form with fields Login name and password. After
pressing submit button that component has to redirect to page in secure area
(https://) and perform NT Basic authentification [ or redirect to another
page saying about failing).


That has to be replacement of that standard 'green pop-up' asking to enter
loginname and password.

View Replies View Related

Login Authentication

I've been reading a lot recently on how to make up a login page. I got the form down right and i'm not sure how to get it online (mywebsite) and work properly. i know that you have to have a database of some sort too to check the login in values against but yet again i'm stuck on that.

View Replies View Related

Login Authentication

im working on a login authentiction for an ASP site , but im stuck as things do not work . It seeems to me that the Response.Redirect line is not being reached because when i click on LOGIN , nothing happens. Code:

View Replies View Related

User LogIn And Authentication

I know how to grab the users windows login. I would like to use this to establish permissions for a user on my site. In order for this to be valid, I need for the user to have to verify their network password.

Is there any way to compare the password entered against the windows authentication? I would also like to be able to call the user by name instead of a login. Is there a way to get this from an Outlook address book or something?

View Replies View Related

Creating Login Authentication

i would like to secure my database from been modified by any users on the network.
I am using asp as my user interface. Is there any codes that i can use to allow certain users to login to my asp webage and use my interface to modify my database access?

View Replies View Related

XMLHTTP Through Login But After Requesting Next Page - Kicks Back To Login

I am building a website to pull data from a remote https site using xmlhttp. The data from the https site is behind a login screen. I can successfully get through the login screen with:

set objXMLHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP")
objXMLHTTP.Open "POST", "https://website.com/validate-login2.asp", false
objXMLHTTP.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
objXMLHTTP.Send "Username=uname&password=pwd&company=O"

That works great - but then, when I try to go to the next page (where the data is that I want to pull) - I use the same process and I get kicked back out to the login screen? Could there be some cookies, referer, strings being passed normally that I am not including in my second request - How do i find out for sure?

I have used the software IETrace and it looks like some cookies being passed, but how do I know for sure if (and what exactly) it is using?

View Replies View Related

Login To Page Requires Login

I want to login to a page using MSXML2.ServerXMLHTTP.4.0 or an object like this, I must send the form variables needed to login when I try to login to the page. But the problem is, that the page looks like a exe file (not a asp file or php file or what ever). The name of the page I try to login is something like "/pw?/session/login", nothing more, without extension. I have tried the code with a normal asp file with session registration and login process and it worked, but not with this file.

View Replies View Related

FTP Put Via ASP Using Visual Basic

I've read hundreds of posts regarding this, but haven't got a working solution yet. Does anyone have a working snippet of code from an ASP page that can be used to upload a file to an FTP server? I read all about INET, but due to some licensing issues it won't work....

View Replies View Related

ASP.net And IIS Basic Question

ASP.net is that what is used to create web pages on a server such as IIS?
ASP.net is part of visual studio, what software package contains IIS?

View Replies View Related

Basic ASP Problem

This is ALL the code that i have..

<%
response.write("This is a test")
%>

the file is saved as test.asp

I have uploaded it, and when i run it, I get the code being displayed ie.
<%
response.write("This is a test")
%>

View Replies View Related

Basic Search

I am having one asp page in which a table is displayed. The table displays the values in textboxes.when the client uses search functionality it searches in the whole page but doesnt search in the table. Can any one tell me about how to search the values contained in textboxes in the table.if possible give me some code

View Replies View Related

Basic Update

However I have a complicated update page so I am going to hand code it. I started by breaking down to the basics of Updating but I keep getting a 'Syntax error in UPDATE statement' error. Can anybody see where I am going wrong?:

<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="../Connections/Publishing.asp" -->
<% If Request("Submit") <> "" Then %>
<%

set Command1 = Server.CreateObject("ADODB.Command")
Command1.ActiveConnection = MM_Publishing_STRING
Command1.CommandText = "UPDATE Test SET Value = Paul WHERE ID = 2 "
Command1.CommandType = 1
Command1.CommandTimeout = 0
Command1.Prepared = true
Command1.Execute()

%>
<% End If %>

View Replies View Related

Visual Basic

Is there one? I need to hash a sensative string before inserting it into the sql server database. It HAS to be done in the ASP code, because it is also stored in a cookie. Any ideas? Server asp code is vbscript.

View Replies View Related

MSN API In Visual Basic...

I need source code for a simple MSN API example, something that interacts between MSN's controls. I want to break it down test it and use it for my own applications.

Or can people even suggest free source code sites for VB. I can search for them there. Planet-source-code had an AMAZING app, but it wanted an ocx file which I obviously didn't have.

View Replies View Related

Basic Question

I have two simple problems which I think are related(?) I have a form with the folowing code:

<form method="post" action="sendemail.asp">
and
<input name="submit" type="button" value="SUBMIT">


when I click the submit button it does not go to sendemail,asp I have tried adding the full/parstial path infront of the sendemail.asp but no luck

Similarly I have the following code which I have taken an asp file from another project and changed the name accordingly but the image does not show Code:

View Replies View Related

Basic Chat

How to create a basic chat?

View Replies View Related

Another Basic SQL Statement

I've got a field in my database called notes, where they of course are leaving notes for certain orders. I'd like to create a page that lists all orders that have notes left in them but I'm having trouble figuring out what sql statement to use. In my words it needs to say "select everything from the table where notes does not equal null"

I guess I just don't really know what to put for the null part. I'm thinking it'll be somehting like..

SELECT * FROM requests WHERE notes <> ...??? this is what I dont know.

View Replies View Related

Basic SQL Statement

i am trying to pull records using a partial name, here's what i have

PlayerName = "'" & "%" & txtFindPlayer.Text & "%" & "'"
this part works fine, for example text is 'ric'

Set rs = db.OpenRecordset("SELECT * FROM EVENT_SCORING_TBL WHERE PLAYER_NAME LIKE " & PlayerName & "")

no record containing 'ric' is found, but the syntax seems to be ok. Am i using the right wildcards? there is definatly an Eric in the database, but it doesnt pull. any suggestions?

View Replies View Related

Basic Instructions

I'm having some problems to perform select on sql statements just cause I'm really confuse on how to refer some variable I got by request.querystring or request.form or even inside form variables...sometimes just using "var" others using "&var&" others '%"&var&"%'...

Does anyone have an article link or some tips regarding this kind of issue?

View Replies View Related

Basic Global.asa Thingy

I have login-page where i set the column LoggedIn = 'Y' when a user logs
in, i was wondering if you guys could help me set up my global.asa so
correctly so it sets LoggedIn='N' when Session("UserID") times out.
what is needed besides:

set conn=server.createobject("adodb.connection")
conn.open connstr
sql="update users set loggedin='N' where userid="&session("userid")
conn.execute(sql)
set conn=nothing

View Replies View Related

Create A Basic Forum

Could somebody please outline the steps needed to create a (very)basic forum from scratch?
ie. the pages that are definetely required...eg. the sign-up and log-in pages... and a very basic admin page.. also, the structure of the database?

View Replies View Related

ASP - Basic Security For Back-end...?

I have a ASP site. Very basic, few pages, 2 includes. There is no user input from the site, no fields they can insert SQL statements.

I also have a login where the Admin can add/edit/remove news items, which are stored in a DB. What are the security issues linked with these?

My login isn't querying the database, but should I use the sha() function to encrypt the pass? Although it's just 1 user adding to the system, should I "clean" up the input(add news/edit news) before it's stored in the Access DB?

Should I restrict IPs solely to those within the building they use?

View Replies View Related

ASP And Visual Basic Interview

ASP And Visual Basic Interview questions and answers
I have listed over 100 ASP and Visual Basic interview questions and
answers in my website

View Replies View Related

ASP VERSUS VISUAL BASIC

I would like to know the Pros and cons for using ASP VS Visual Basic for intranet, in terms of time development and customization. The project that we will use it is a basic Information Management System.That could be used for offline and online using IIS and MYSQL.

View Replies View Related

Visual Basic Program

I know we can write ASP with VB Script. Some people told me the big ASP
projects usually use Visual Basic for the business logic. Is that the case?
What I mean is an ASP project is the combination of server-side ASP code and
Visual Basic components (.cls)

View Replies View Related

Basic CDONTS Question

objNewMail = Server.CreateObject("CDONTS.NewMail")

How do I know whether the "Send" command from a CDONTS object actually was
sent?

Is there a status variable that can be checked? Or a log file that can be
written to?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved