The difference between Session.Clear () and Session.Contents.Clear ()

What is the difference between Session.Clear () and Session.Contents.Clear ()?

I want to clear all session variables.

Thank.

+3
source share
1 answer

According to the reflector there is no difference . Session.Contentsreturns the object itself Session.

+2
source

Source: https://habr.com/ru/post/1783636/


All Articles