locked
ASP Session Creation problem in Crome and in Opera browser RRS feed

  • Question

  • User-1683135747 posted

    Hello every one ,

          I am a software developer working on ASP.Net C# . I am facing problem in creating ASP session when my asp.net web application is deployed in ISS.

    Here  in detail

       If i run my application through VS software the session id carrying data from Login.aspx to homePage.aspx and Logout is fine means session destroy is fine

    The same thing when I deploy the Application to IIS or webhosted when i login the session is not carrying the data . If i retrive data from session it shoes "Object reference is not set to be an instance of object ". Hope session is not working i.

      I am facing this problem in Crome and Opera Browser. But it s working good in Internet explorer and Firefox.

    First I taught Session its self not working but later on i found that in some browser it is working and in some it s not ....

    here is the code how i implemented

    Session["UserID"]=TextBox1.Text;

    to retrive Data

    string UserID=Session["UserID"].Tostring();

    so can anybody give me  any suggestion or hint for this problem

    Tanks in Advance

    Thursday, January 3, 2013 4:20 AM

Answers

All replies