locked
Session values not maintained in server RRS feed

  • Question

  • User-1369888382 posted

    I am using MVP pattern in my project.Using sessionstate,i am passing values from presenter to the view.
    In my local,the values are passed correctly.But,once deployed in the server,the values are not maintained.What can be the reason..Please help.

    Tuesday, September 30, 2014 9:36 AM

All replies

  • User753101303 posted

    Hi,

    Always or does it work a bit and then fails?

    My first move would be to show Session.SessionID to see if the session is always the same. I'm trying to understand if the session is not used correctly or if it happens that the session is indeed restarted for some reason.

    Using too much the session is likely not that a good idea. More likely it should be for small, very frequently used, per user data rather than a general purpose data transfer mechanism...

    Tuesday, September 30, 2014 9:46 AM
  • User-1369888382 posted

    It is failing always in the server.

    Tuesday, September 30, 2014 9:57 AM
  • User1052662409 posted

    http://www.codeproject.com/Tips/790387/Session-in-ASP-NET-MVC

    this might help you.

    Monday, October 20, 2014 12:25 AM