Advertisement

03.14.2008 at 09:04AM PDT, ID: 23242158 | Points: 500
[x]
Attachment Details

How to use web service with session & application state when called from windows form or console

Asked by dannydudek in Programming for ASP.NET, .NET Framework 2.0, WebApplications

Tags: Microsoft, web services IIS .net dot net, 2.0, VB or C#

I'm trying to develop a web service with application and session states (e.g.: Session["counter"] = 1, Application["users"] = 33).

I'm aware that web services can use the same functionality as asp.net web apps. But this only works if the caller is a web app as well.

How do I go about making stateful web services when the caller is a windows form or console app.

I've looked at several website/tutorials but can't make any sense of them (CookieContainer ?)

Any help/examples would be really helpful!!

ThanksStart Free Trial
[+][-]03.14.2008 at 10:04AM PDT, ID: 21127230

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.14.2008 at 10:06AM PDT, ID: 21127246

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.14.2008 at 10:38AM PDT, ID: 21127589

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.14.2008 at 10:52AM PDT, ID: 21127709

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.30.2008 at 01:02PM PDT, ID: 21241759

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.31.2008 at 07:26AM PDT, ID: 21245638

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628