I\'m trying to get a database transaction to execute when an ASP.NET session ends (in simple WebForms app on Windows 2008 Server). I realize that many respondents will sugg
Try initializing the session from within the same method that queries the database.Do it before querying the database.