I am using a web service which is added as a reference in a pocket pc
application

I try to implement this with System.Net.CookieContainer but as i am working
for a pocket pc this class is not available

Then i try to create a webservice that maintaining sessions without cookies
I edit web.config file cookieless="true" and try to use
[WebMethod(EnableSession = true)]
but it gave me the followin error

Server found request content type to be 'text/html; charset=utf-8', but
expected 'text/xml'."


--
Regards,
Kishore

RE: Session for web service by a

a
Mon Dec 19 09:29:01 CST 2005

http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_thread/thread/56890457522f61c4/b4f13612f185fcbf?lnk=st&q=cookies+group%3A*.compactframework&rnum=8&hl=en#b4f13612f185fcbf
--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org


"kishore" wrote:

> I am using a web service which is added as a reference in a pocket pc
> application
>
> I try to implement this with System.Net.CookieContainer but as i am working
> for a pocket pc this class is not available
>
> Then i try to create a webservice that maintaining sessions without cookies
> I edit web.config file cookieless="true" and try to use
> [WebMethod(EnableSession = true)]
> but it gave me the followin error
>
> Server found request content type to be 'text/html; charset=utf-8', but
> expected 'text/xml'."
>
>
> --
> Regards,
> Kishore