I use cookie container, thx for the response...
Mogyi
Posts
-
Webservice and proxy -
Webservice and proxyYes I did, thx for the tip
-
Webservice and proxyHello all of you, I made a webservice and I can't get this to run via proxy. the basic procedure on the client side looks like this:
MyWebservice service = new MyWebservice();
WebProxy iProxy = new WebProxy(_proxyAdress, true);
service.Proxy = iProxy;
...
if(service.LogOn(user, pass))
{...
data = service.GetMyData();
now what happens is that the session variables are lost on the GetMyData() call on the server side:
[WebMethod (EnableSession = true)]
public bool Logon(string s, string p)
{
...Context.Session.Add ("LoggedIn", true);
...
return
}[WebMethod (EnableSession = true)]
public SomeData GetMyData()
{...
if(Context.Session ["LoggedIn"]) //<-- LoggedIn == null
...
}Whitout proxy it goes but with proxy dosen't. Please drop some tips if you have some. Thx. ;)
-
MSI Setup - custom action rollbackHow do you call rollback from a custom action dll? (calling directly base.Rollback doesn't works, throwing InstallException is not OK because of the Unhandeld exception MessageBox)
-
[Message Deleted]:laugh:
-
Nowbody knows how to do this? (MSI setup)I am pretty amazed how this issue is handeld even by Microsoft. In custom action dll's the recommended rollback calling is throwing a InstallException (generates a error box about 'unknown' unhandeld exception). But what about canceling a setup during a custom action initialized dialog...??? Please, if somebody knows how to rollback nicely from custom action dll's please let me know. One more thing, maybe it's a setting or something but base.Rollback(savedState) called directly isn't resulting in a rollback, nothing happens. I'm so desperate, I will do other stuff for a day or two but my last hope of solving it will be hooking on the setup and killing that damned error message box...
-
Using reflection modify List<int> type class member...</int> [modified]Ok, forget 'assembly', if you don't know an Object type, you can't construct it... Hope somebody will have a solution for you problem, I'm just saying what I was trying to do and always came back to the same problem...
-
MSI Setup - custom action rollbackI added to rollback my dll too, the problem is: if I call Rollback directly nothing happens, if I say 'throw new InstallException("Canceld by user");' it rolls back nicely but before that, a general error MessageBox is shown...
-
Using reflection modify List<int> type class member...</int> [modified]I don't want to lower your morale but I've been trying some time ago a similar thing to do and I had to abandon the idea because it get's very problematic when you are trying to generalize the issue. The main idea is, if you don't know the 'assembly type', you don't have a chance... :^)
-
MSI Setup - custom action rollbackHello, I am making a MSI setup with VS 2005 and have a custom action DLL added. I've been searching for a solution for my problem for a week now... My problem is exiting the custom action when the user clicks cancel on my dialog. The issue is that if I throw a InstallException, I get a error message box that refers to unhandeld exception. How can you exit a the installation from MSI without having this error message box? By exit I mean, rollback...
-
System.Web.UI.Page, get page object from URIThx for the response, it makes total sens... I hope I can make this somehow work :^), this tool will be used to trak down bugs by gathering CSS data... Regards, Mogyi
-
System.Web.UI.Page, get page object from URII have to extaract data by crawling true a website. I have to somehow get a Page class so I can access Page.Controls collection. If I'm right, I have a hunch, with HttpWebRwsponse this could be done... still, I din't found a way yet...:((
-
System.Web.UI.Page, get page object from URIHi, If anybody knows how to load up a Page object form a web address :omg: or has any idea about what could be done, please drop a message, even if you don't whant to... Thx
-
Deserialize unknown objectHi, as the title says, I have to deserialize an unknown object from an xhtml format... So, anybody has any idea suggestion how to make this work...?