[Mono-list] Troubles with Session in Web Services, client side

Gonzalo Paniagua Javier gonzalo at novell.com
Wed Dec 27 11:54:25 EST 2006

On Tue, 2006-12-26 at 13:30 +0100, Sébastien Mosser wrote:
> Hi everybody.
> I got a problem while trying to invoke a WS written in C#. the WS is
> quite simple, and is just a sample of 'How to use Session in .Net Web
> Services : A Simple Session Counter'.
> The Web User interface works fine (counter value changes well), but,
> when I invoke it from a C# client, it doesn't :'(
> The following problem happend on my iBook (Mac OS X, Mono 1.2.1) and
> on my desktop (Kubuntu, mono, even using xsp or xsp2 as Web
> Server, ans mcs or gmcs as compiler ...

When using a reguler web service client (ie, not a browser), you need to
retrieve the cookies sent back from the server and send them again so
that the server can keep track of the session.


More information about the Mono-list mailing list