Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 13th, 2006, 10:41 AM
Registered User
 
Join Date: Sep 2003
Location: , , India.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using Webrequest and response to post data

I want to simulate the submission of an asp application from my asp.net application. The url for asp application takes username and password as parameters and when it is submitted, the results are posted to another asp page.

Eg if i click submit button of page1.asp, the results are posted in page2.asp and i want to scrape the html of page2.asp and accordingly display the results in my asp.net application.

I am able to get the response html of page1.asp using webrequest and response. But it does not do the auto-submit of page1.asp

Can anyone give me some ideas on how to do this.

Reply With Quote
  #2 (permalink)  
Old July 13th, 2006, 10:49 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

I do not fully understand your question. Are you trying to do the same thing in .NET that you have done in classic asp or are you just trying to do a screen scrape?

"The one language all programmers understand is profanity."
Reply With Quote
  #3 (permalink)  
Old July 14th, 2006, 09:57 PM
Registered User
 
Join Date: Sep 2003
Location: , , India.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I want to simulate the posting of asp page from asp.net application and then scrape the html of the asp page.

Reply With Quote
  #4 (permalink)  
Old July 15th, 2006, 06:11 AM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Why not just do the entire thing in .Net it will eliminate the step of having to scrape the HTML.

"The one language all programmers understand is profanity."
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
C# post xml using HttpWebRequest/Response datakix ASP.NET 1.0 and 1.1 Professional 4 July 20th, 2013 03:34 PM
POST response cached keenlearner BOOK: Professional Ajax ISBN: 978-0-471-77778-6 0 March 27th, 2007 03:12 PM
WebRequest Response Error hpatel_it ASP.NET 2.0 Basics 0 October 17th, 2006 06:50 AM
Using web request and response to post data to URl cgmenon .NET Framework 1.x 0 July 13th, 2006 10:39 AM
how to post variable on response.redirect????? Swetz Classic ASP Components 3 May 16th, 2006 06:37 AM



All times are GMT -4. The time now is 04:00 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.