Thanks.
I am thinking whether I can perform an "artificial" logon before setting the
scr?
This way I should obtain a valid logon session with the remote server
(ASP.NET App). before setting the url of the IFrame?
Something like this:
//perform a logon to the image server
string url =
ConfigurationManager.AppSettings[WebHelper.RemoteServerParameters.IMAGE_APPROVAL_KEY];
string usr =
ConfigurationManager.AppSettings[WebHelper.RemoteServerParameters.IMAGE_SERVER_USR_KEY];
string pwd =
ConfigurationManager.AppSettings[WebHelper.RemoteServerParameters.IMAGE_SERVER_PWD_KEY];
WebRequest req = WebRequest.Create(url);
req.Credentials = new NetworkCredential(usr, pwd);
WebResponse resp = req.GetResponse();
this.frmImageApproval.Attributes["src"] =
req.RequestUri.AbsoluteUri;
--
rgds.
/Claus Konrad
bruce barker (sqlwork.com) said:
there aren't any. if its a really old web site you can pass the login in the
url., but not recommended. if your the same domain, you can use a cookie.
you could also pass a ticket on the url.
-- bruce (sqlwork.com)