What is xxx(src As Object, e As EventArgs)
xxx is an event handler src is the object that fires the event e is an event argument object that contains more information about the event An event handler is used when one object wants to be notified when an event happens in another object
Is the session timeout attribute in minutes or seconds
The Timeout setting is in minutes, not in seconds. i.e The timeout attribute specifies the number of minutes a session can be idle before it is abandoned. The default is 20
How to remove a Session variable
Use HttpSessionState.Remove()
Is there any way to know how much memory is being used by session variables in my application?
No
How can I programatically invalidate the outputcache from a usercontrol
You could add a dependency to the output cached control, and change the dependency to evict the control. Here’s code to do that: VB.NET If TypeOf Parent Is System.Web.UI.BasePartialCachingControl Then Cache(‘dependent’) = ‘dependent’ Dim dep As New CacheDependency(Nothing, New String() {‘dependent’}) ’ CType(Parent, System.Web.UI.BasePartialCachingControl).Dependency = dep End If C# if (Parent is System.Web.UI.BasePartialCachingControl) { Cache[‘dependent’] = ‘dependent’; CacheDependency dep = new CacheDependency(null, new string[] ‘dependent’); ((System.Web.UI.BasePartialCachingControl)Parent).Dependency = dep; }