session timeout notification in ASP.NET MVC 5 RRS feed

  • Question

  • Hello i m devansh, i am creating an mvc 5 website and stuck in a situation to get notified when a user close its browser.

    i wanna get notified because i m creative a booking site so at the booking page all user will get the data which is not yet booked

    IEnumerable<data> obj = from s in context.class_name where s.isBooked == false select s;
          return View("SelectionPage", obj);

    so on that page i want the user who click first on book option a session should get started for 15 minutes to hold the value for Isbooked column as true in Database and if a users close the browser or end the process from task manager or close the browser at the time of payment on gateway value for the IsBooked column should get changed to False I have searched in many forums but i didn't found the correct answer for this type of operation.

    Please Help me.

    • Moved by Kevin Linq Wednesday, September 7, 2016 2:20 AM
    Saturday, August 27, 2016 8:45 PM

All replies

  • Please Help me.

    Sunday, August 28, 2016 4:06 AM
  • Hi Devansh.Verma

    Thank you for posting here.

    Since your issue is related to ASP.NET MVC forum, you could create a new thread in forum . So, please remember to close your thread by mark useful posts as answer.

    Your cooperation will be grateful.

    I will move your thread to off-topic.

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    • Edited by Kevin Linq Monday, August 29, 2016 3:29 AM
    Monday, August 29, 2016 3:24 AM

    Vignesh M

    Monday, March 20, 2017 5:24 PM