How can we maintain State in Webservices ?
A:
This should help you, IF it is what you're looking for.
http://www.beansoftware.com/ASP.NET-Tutorials/Managing-State-Web-Service.aspx
Suvesh Pratapa
2009-06-12 09:14:42
+4
A:
Web services are by nature stateless. Any attempt to maintain state is a hack, since you may hold something that will be used by the next request from the user, which will never come.
If you really need it, just keep it in session. For larger data sets, keep them out of session, but add session listener to cleanup that data when session expires.
Dev er dev
2009-06-12 09:19:48
A:
Services should be stateless; if there's state to be maintained, it's the client's job to do it.
duffymo
2009-06-12 09:57:39