What is the difference between Session.Clear () and Session.Contents.Clear ()?
I want to clear all session variables.
Thank.
According to the reflector there is no difference . Session.Contentsreturns the object itself Session.
Session.Contents
Session
Source: https://habr.com/ru/post/1783636/More articles:Как я могу выбрать все записи между двумя датами без использования полей даты? - dateShould MD5 enter every letter of the password? - javaAssign an empty string to a property with a current value of nothing - stringCalculating the orientation of a square and displaying an object with the same orientation - c ++mod_rewrite for PHP RESTful Server - restCreate a scope block in the rails helper for additional methods - ruby | fooobar.comGetting registry information in a WCF service - c #How can you distribute the color intensity of two images using your gradients? - algorithmDuplicate correlation workflow - workflow-foundation-4List of all patterns that match regex - pythonAll Articles