Author: kcabrams | Posted on: 11/7/2008 8:05:54 AM | Views : 1227

I can't explain how important this is to me. I need someway to store the response of one of my local pages (The response is actually an image). The reason it has to be a relative URL and not and Absolute is because there is session data involved and there is no way around it. I dont have access to the page code that generates the image but I do need to save it. I am SO CLOSE. The code at the bottom is EXACTLY What i need except

string url = "http://img510.imageshack.us/img510/5523/aspnet4jh.jpg"; Must be relative.

string url = "/utilities/ImageGenerator.aspx"; Except that causes an error. I've read somewhere that (HttpWebRequest)WebRequest.Create(ResolveUrl(url)); is supposed to work but t ...

Go to the complete details ...