Windows application proxy accessing session variables

Oct 26 2008 3:44 PM
I would like to find out if it is possible for a windows application web service proxy of a consumer can access session variables previously saved. I have been following the documentation on this site (http://www.c-sharpcorner.com/UploadFile/prvn_131971/CreatingWebServices02132008050732AM/CreatingWebServices.aspx) but i cant seem to have access to the property Cookiecontainer of the proxy (its not popping out in the intellisense). But for the asp.net application this property is available in the proxy. How can i access web service sessions in a windows application...my code looks something this this:

Hospital.HospitalServicesSoapClient proxy = new HospitalServicesClient.Hospital.HospitalServicesSoapClient();
bool login = proxy.authenticate(TextUsername.Text, TextPassword.Text);


Answers (3)