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, 3931👍, 0💬
Where are cookies actually stored on the hard disk? This depends on the user's browser and OS. In th...
What is a fish bone diagram ? Dr. Kaoru Ishikawa, invented the fishbone diagram. Therefore, it can b...
How To Set session.gc_divisor Properly? - PHP Script Tips - Understanding and Using Sessions As you ...
What is test metrics? Test metrics accomplish in analyzing the current level of maturity in testing ...
Can static variables be declared in a header file? You can't declare a static variable without defin...