---
title: "Does a Web service have state?"  
description: "Does a Web service have state?"  
author: "Sumit Kesarwani"  
published: 2014-08-26  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/2048/does-a-web-service-have-state  
category: "wcf"  
tags: ["wcf"]  
reading_time: 1 minute  

---

# Does a Web service have state?

The Web services do not have any technique to maintain state. However, it can access ASP.NET objects, such as application and session if they extend from the WebService base class.

## Answers

### Answer by Sumit Kesarwani

The Web services do not have any technique to maintain state. However, it can access ASP.NET objects, such as application and session if they extend from the WebService base class.


---

Original Source: https://www.mindstick.com/interview/2048/does-a-web-service-have-state

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
