If you want to access, read, write or otherwise store and send cookies in .NET you will need to access the request objects cookiecontainer. Once you have that in your sights, you can grab the cookiecollection and pick up the cookie that you need. Here is an example; Dim req As HttpWebRequest = CType(WebRequest.Create(http://urlgoeshere.com, HttpWebRequest) […]
Archive | June, 2007
Dataset.ReadXML or ‘O Schema, Where Art Thou’
I’m still cranking ot XML by the bucket load and ran into an interesting solution to a problem using the datasets and readXML. I wanted to use datasets rather than XPath or XMLDocument or any of the other readers. However, I was having trouble mapping the XML schema to the dataset paradigm in my mind. […]
Posting XML using .NET
Well, I’m into the new xml project somewhat now and have created the xml output file and the code to post it using .NET. If you are unfamiliar with the procedure, here is a sample. ‘first we create a request Dim req As WebRequest = HttpWebRequest.Create(http://www.trstechnology.com) ‘set the request method to POST req.Method = “POST” […]
The Joys Of XML
I’m currently working on a project that requires posting and reading response online using XML. I’m not talking about web services here, it’s a plain old POST of an XML file, response is returned as copious amounts of XML, read that and build a web form based on the contents (yawn), have website user make […]