[Mono-bugs] [Bug 77884][Nor] New - Session not available in AcquireRequestState

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Mar 23 06:19:08 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by informatique.internet at fiducial.fr.

http://bugzilla.ximian.com/show_bug.cgi?id=77884

--- shadow/77884	2006-03-23 06:19:08.000000000 -0500
+++ shadow/77884.tmp.24322	2006-03-23 06:19:08.000000000 -0500
@@ -0,0 +1,48 @@
+Bug#: 77884
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: informatique.internet at fiducial.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Session not available in AcquireRequestState
+
+Description of Problem:
+The Session state is null during AcquireRequestState event in Global.asax.cs
+
+Steps to reproduce the problem:
+1. Add these line in Global.asax:
+		public Global()
+
+		{
+
+			this.AcquireRequestState+=new System.EventHandler(Methode);
+
+		}	
+				
+		private void Methode(object sender, EventArgs e)
+		{
+			Console.WriteLine("Methode appelee");
+			Console.WriteLine(Session.ToString());
+		}
+
+Actual Results:
+Null reference exception
+
+Expected Results:
+System.Web.SessionState.HttpSessionState
+
+How often does this happen? 
+always
+
+Additional Information:
+MS.NET acquire the session state correctly...


More information about the mono-bugs mailing list