G
Guest
I created a page that generates an order confirmation pdf and returns it to
the browser. My client now requested that I attach said pdf to the order
confirmation email. I tried to use
HttpWebRequest.GetResponse.GetResponseStream(); but the page is protected,
and even though I'm requesting it from within the application, i keep getting
the login page attached to my email
I tried grabbing the cookies from the current response, and sending them
with the new request, as well as modifying the viewstate and posting with the
login info and even though I'm logged in, its still attaching the login page.
Thanks in advance for any help.
the browser. My client now requested that I attach said pdf to the order
confirmation email. I tried to use
HttpWebRequest.GetResponse.GetResponseStream(); but the page is protected,
and even though I'm requesting it from within the application, i keep getting
the login page attached to my email
I tried grabbing the cookies from the current response, and sending them
with the new request, as well as modifying the viewstate and posting with the
login info and even though I'm logged in, its still attaching the login page.
Thanks in advance for any help.