freelanceprogrammers.org Forum Index » ASP

creating a header


View user's profile Post To page top
travis.falls@... Posted: Fri Jan 07, 2005 11:44 pm


Joined: 10 Jan 2006

Posts: 33
creating a header
Can someone point me to a tutorial that will show me how to create a header
to authenticate to a windows protected site (NTML). I have a valid user id
and password I just don`t know how to put the header together to automate
login.

Travis D. Falls |Consultant, Raft.Net IT | 860.547.4070 |
travis.falls@...



-----Original Message-----
From: scaevola637 [mailto:scaevola637@...]
Sent: Friday, January 07, 2005 12:41 PM
To: AspNetAnyQuestionIsOk@yahoogroups.com
Subject: [AspNetAnyQuestionIsOk] Re: Sticky Wicket: C#.NET calling ADODB



HERE is one function that needs converting from vbscript to C#.
the namespace is ADODB, which is guess is what everyone used in
Classic ASP before ASP.NET. I guess I need a book on Classic ADO.
The instructions are to Keep using ADO but rewrite into C#.NET. I
am not sure it can be done.

function OpenAFCPT()
set adoAFCPT = server.createobject("ADODB.Connection")
adoAFCPT.commandtimeout = dbCommandTimeOut
adoAFCPT.open dnsAFCPT, usrAFCPT, pasAFCPT
set cmdAFCPT = Server.CreateObject("ADODB.Command")
cmdAFCPT.ActiveConnection = adoAFCPT
cmdAFCPT.CommandTimeout = dbCommandTimeOut
cmdAFCPT.CommandType = adCmdStoredProc

end function







Yahoo! Groups Links








This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If
you are not the intended recipient, please notify the sender
immediately by return email and delete this communication and destroy all
copies.
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help