Home > DeveloperSection > Forums > session value lost
Manoj Bhatt
Manoj Bhatt

Total Post:153

Points:1079
Posted on    August-27-2014 1:39 AM

 ASP.Net
Ratings:


 1 Reply(s)
 611  View(s)
Rate this:

Am doing wepsite for show images from local drive using asp.net.am using session object for Transfer image path from first page to second page but session value does't pass to next page.

i got null value in session object. am using inproc session mode

kindly help me thanks



Sumit Kesarwani

Total Post:378

Points:2694
Posted on    August-27-2014 2:57 AM

Hi Manoj, 

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

Session["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.


Don't want to miss updates? Please click the below button!

Follow MindStick