Do webservices have state ?
.NET INTERVIEW QUESTIONS - Do webservices have state ? (How can we maintain State in Webservices ?)
Webservices as such do not have any mechanism by which they can maintain state. Webservices can access ASP.NET intrinsic objects like Session, application and so on if they inherit from “WebService” base class.
<%@ Webservice class="TestWebServicesClass" %>
Public class TestWebServicesClass
<WebMethod> Public Sub SetSession(value As String)
session("Val") = Value
In this example code we set a session object called as “val”. TestWebservicesClass is inheriting from WebService to access the session and application objects.
2009-10-20, 3995👍, 0💬
What is a measure in OLAP ? Measures are the key performance indicator that you want to evaluate. To...
Does .NET support UNICODE and how do you know it supports? Yes .NET definitely supports UNICODE. Try...
How to create a thread in a program? You have two ways to do so. First, making your class "extends" ...
How to measure functional software requirement specification (SRS) documents? Well, we need to defin...
Describe in detail Basic of SAO architecture of Remoting? For these types of questions interviewer e...