krinpit Posted October 21, 2003 Posted October 21, 2003 I need to parse an online Web page to retrieve Stock Indices. I have no problem doing this using the Net.Webclient on regular, unprotected pages. However, the page I want to access requires username/password authentication for each session. This is where I need help. Any ideas on where I can start would be much appreciated. Quote
*Gurus* divil Posted October 21, 2003 *Gurus* Posted October 21, 2003 Does it use standard http authentication, or forms-based authentication? Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
krinpit Posted October 21, 2003 Author Posted October 21, 2003 It is a cold fusion forms-based implementation See: https://www.hedgeindex.com/html/log_in.cfm Quote
jorge Posted October 21, 2003 Posted October 21, 2003 ok that is not that hard: add ?usernamevar=user&passwordvar=password to the end of the url i cant give you a full exaple sins i don't know the corect names Quote Jorge - http://www.blackdot.be/?page=apache.htm
Moderators Robby Posted October 21, 2003 Moderators Posted October 21, 2003 That's if they're even using the query string, no? Quote Visit...Bassic Software
jorge Posted October 21, 2003 Posted October 21, 2003 well yes, and if it a apache authentication http://user:pass@host/file.ext schould work Quote Jorge - http://www.blackdot.be/?page=apache.htm
krinpit Posted October 24, 2003 Author Posted October 24, 2003 The Solution that worked for me was suggested on a different board by http://forums.devshed.com/showthread.php?threadid=92549&goto=newpost Sano Thanks your your input Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.