locked
Session cleared on POST RRS feed

  • Question

  • I have an application built on MVC C#, that has been running for around like 6 years, and recently there is a problem with "Sessions", ie., when the user does a transaction, if 3ds is required, they would be taken to the 3ds page, and we would normally receive a postback with the status, and Sessions were used to hold the temporary data on this, and now these Sessions are being cleared on postback and its null.

    We tested this on the local development machine, and even tried using a new bare MVC C# Web Application, created straight out of the template, and there too, the Sessions were being cleared, and strange enough, only when being receiving a postback from the 3ds page, the other postbacks works as expected.

    Additionally, the sessions were being active (on the bare Web app) when we tried opening them on a new window, and when being postbacked it gets cleared, only on the page when the 3ds lands, on the rest of the pages it works.

    We use MVC 5.2.7 with C# .Net Framework 4.8

    We tried looking up on the various session related issues posted on SO and tried out the solutions marked, but none worked.
    Sunday, April 19, 2020 6:30 AM

All replies

  • ASP.NET MVC can be discussed at the MVC forum in ASP.NET forums.

    http://forums.asp.net/

    Sunday, April 19, 2020 7:02 AM
  • Thanks will post it there
    Sunday, April 19, 2020 7:13 AM