You must Sign In to post a response.
  • Category: Windows 10

    Aspnet app hosted in cloud getting logged out for few seconds

    Hello Sir,

    Kindly look into this issue.

    We have asp.net application hosted in cloud. The problem is application getting logged out without any intervention after few minutes.

    when fields are more in page it is taking 15 minutes to enter data. but in the middle application getting logged out.

    Can u please help in regarding in this issue.

    Thank you,
    nagendra varma
  • #768735
    HI Nagendra,

    Can you please provide more details like what is current Session timeout value and what kind of authentication are you using?
    Also as a general practice, when there is a scenario to capture many fields it is better to segregate them into logical sections by using Ajax/Jquery tabs. If tabs layout doesn't fit, at least we can segregate them using asp panels. By this we can save data intermediately without loosing.

    Thanks & Regards
    Rohith

  • #768740
    Hai Nagendra,
    I think, there is some issue for maintaining the session state when the application is hosted in cloud. So its better to use the external session state management which can store the session even when it is out of the environment.
    Please find below links for some work around:

    https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-dotnet-session-state-caching
    https://docs.microsoft.com/en-us/azure/redis-cache/cache-aspnet-session-state-provider

    Hope it will be helpful to you.

    Regards,
    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)
    pawansoftit@gmail.com


  • Sign In to post your comments