---
title: "session value lost"  
description: "session value lost"  
author: "Manoj Bhatt"  
published: 2014-08-27  
updated: 2014-08-27  
canonical: https://www.mindstick.com/forum/2165/session-value-lost  
category: "asp.net"  
tags: ["asp.net", ".net", "c#", "session", "session variable", "values in Session", "Session variable losing value", "session value lost", "session lost"]  
reading_time: 1 minute  

---

# session value lost

Am doing wepsite for show [images](https://www.mindstick.com/interview/1067/what-is-the-php-predefined-variable-that-tells-the-what-type-of-images-that-php-support) from [local](https://www.mindstick.com/forum/546/how-to-create-local-user-in-windows-8) drive using asp.net.am using [session object](https://www.mindstick.com/forum/2484/how-to-retrieve-session-object-in-jsf-view) for [Transfer](https://www.mindstick.com/blog/11733/debt-management-for-startups-consolidation-loan-vs-balance-transfer) [image](https://www.mindstick.com/articles/23551/an-investigate-distinctive-seafood-restaurant-for-your-image-stamp-character) path from first page to [second page](https://www.mindstick.com/forum/23130/windows-phone-8-1-universal-app-terminates-on-navigating-back-from-second-page) but session value does't pass to next page.

i got [null value](https://www.mindstick.com/forum/23045/document-body-appendchild-has-a-null-value) in session object. am using inproc session mode

kindly help me thanks

## Replies

### Reply by Sumit Kesarwani

Hi Manoj,

How you are storing the path of images. See i am doing like this and everything goes file for me.

[Session](https://www.mindstick.com/articles/12042/session-in-c-sharp)["Path"] = @"D:\Images\PNEUMATIX_MR_CardiovascularHeart Cardiac Function_6\img.jpeg";

on another page i am taking like this.

Label1.Text = Session["Path"].ToString();

And i am using sessionState mode="inProc". My be you have some problem with path.


---

Original Source: https://www.mindstick.com/forum/2165/session-value-lost

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
