Author: TBarton | Posted on: 1/1/2009 4:56:58 AM | Views : 307

First...HAPPY NEW YEAR! 

I have a site that I do form authentication through Active Directory.

I have a page that consists of a few buttons, labels, and gridviews. I am emailing the page to myself for testing. The email should basically be the same html page, however when I open the email message the page that was actualy sent is my Login page. Below is the code. The readHtmlPage function is being sent the wrong page because of authentication. How in the world can I get around that?
Private Function readHtmlPage(ByVal url As String) As String
Dim result As String
Dim objResponse As WebResponse
Dim objRequest As WebRequest = System.Net.HttpWebRequest.Create(url)
objResponse = objRequest.GetResponse() ...

Go to the complete details ...