V
Vasu
Hi,
I have a requirement to download a file from the web
site using a client tool.
Iam writing a C# program to download using WebRequest,
HttpRequest, WebResponse and
so on. The problem Iam having is to navigate thru
multiple pages. I have to login
to the web site, choose an option from the list box and
then click on the download
button. Iam able to login to the site, while choosing the
selections from the drop
down and posting to the site it is lossing its connection
state. In short Iam not
able to use the same WebRequest object to post the next
URL. The web server is
holding a session with my connection and Iam not able to
go to the next page using
the same object, I have to create a new object with the
next URL which would loose
the session state. Any help would be appreciated.
Thanks
Vasu
I have a requirement to download a file from the web
site using a client tool.
Iam writing a C# program to download using WebRequest,
HttpRequest, WebResponse and
so on. The problem Iam having is to navigate thru
multiple pages. I have to login
to the web site, choose an option from the list box and
then click on the download
button. Iam able to login to the site, while choosing the
selections from the drop
down and posting to the site it is lossing its connection
state. In short Iam not
able to use the same WebRequest object to post the next
URL. The web server is
holding a session with my connection and Iam not able to
go to the next page using
the same object, I have to create a new object with the
next URL which would loose
the session state. Any help would be appreciated.
Thanks
Vasu