SESSION VALUE LOST

Manoj Bhatt

Total Post:154

Points:1086
Posted by  Manoj Bhatt
 894  View(s)
Ratings:
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

  1. Sumit Kesarwani

    Post:378

    Points:2694
    Re: session value lost

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!