---
title: "Does “TempData” preserve data in the next request also?"  
description: "Does “TempData” preserve data in the next request also?"  
author: "Anupam Mishra"  
published: 2016-02-14  
updated: 2016-02-14  
canonical: https://www.mindstick.com/forum/33976/does-tempdata-preserve-data-in-the-next-request-also  
category: "asp.net"  
tags: ["c#", "asp.net", "asp.net mvc"]  
reading_time: 1 minute  

---

# Does “TempData” preserve data in the next request also?

Hi,Does “[TempData](https://www.mindstick.com/forum/155741/define-tempdata-in-mvc)” [preserve data](https://www.mindstick.com/interview/33671/does-tempdata-preserve-data-in-the-next-request-also) in the next [request](https://www.mindstick.com/blog/255/post-get-and-request-function-in-php) also? Please give me a solution.\
\
[Thank you in advance](https://answers.mindstick.com/qa/40482/why-was-1968-a-year-of-tension-and-turmoil-list-10-events-1-being-the-best-and-10-the-worst-thank-you-in-advance).

## Replies

### Reply by Manoj Bhatt

If **TempData** is available through out for the current request and in the subsequent request it’s available depending on whether **TempData** is read or not.So if **TempData** is once read it will not be available in the subsequent request.


---

Original Source: https://www.mindstick.com/forum/33976/does-tempdata-preserve-data-in-the-next-request-also

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
