[Mono-bugs] [Bug 44499][Wis] New - Problems with Session

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 11 Jun 2003 08:44:52 -0400 (EDT)


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 abel@uajms.edu.bo.

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

--- shadow/44499	Wed Jun 11 08:44:52 2003
+++ shadow/44499.tmp.31716	Wed Jun 11 08:44:52 2003
@@ -0,0 +1,100 @@
+Bug#: 44499
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: abel@uajms.edu.bo               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Problems with Session
+
+Description of Problem:
+
+Session works or when one or two users accedes simultaneamente to a pagina,
+but when for example they are seven or but usuary produces an error message.
+
+Steps to reproduce the problem:
+1. 
+<%@ language="C#">
+<html>
+<script runat=server>
+
+    void lClicked (object o, EventArgs e)
+        {
+          Session["c"]="hola mundo";
+        }
+        
+        void mClicked (object o, EventArgs e)
+        {
+          String cad;
+          cad = (String) Session["c"];
+          Response.Write(cad);
+        }
+</script>
+<head>
+</head>
+<body>
+<form runat=server>
+  <asp:Button  id="btn1" 
+      OnClick="lClick"
+      runat=server/>
+  <asp:Button  id="btn2" 
+      OnClick="mClick"
+      runat=server/>
+</form>
+</body>
+</html>
+
+2. execute the previous program simultaneamente with 7 or but usuary during
+aproimadamnete 3 minutes.
+
+
+Actual Results:
+//**********
+Error
+Description: Error processing request.
+
+Error Message:
+
+Stack Trace:
+
+System.NullReferenceException: A null value was found where an object
+instance was required
+in <0x00026> 00 ASP.sesion_aspx:lClicked (object,System.EventArgs)
+in <0x0005a> 01 System.MulticastDelegate:invoke_void_object_EventArgs
+(object,System.EventArgs)
+in <0x000a8> 00 System.Web.UI.WebControls.Button:OnClick (System.EventArgs)
+in <0x0005d> 00
+System.Web.UI.WebControls.Button:System.Web.UI.IPostBackEventHandler.RaisePostBackEvent
+(string)
+in <0x00016> 00 System.Web.UI.Page:RaisePostBackEvent
+(System.Web.UI.IPostBackEventHandler,string)
+in <0x00048> 00 System.Web.UI.Page:RaisePostBackEvents ()
+in <0x0011b> 00 System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
+in <0x001b1> 00 .ExecuteHandlerState:Execute ()
+in <0x0004e> 00 .StateMachine:ExecuteState (IStateHandler,bool&)
+
+
+
+//**********
+
+
+
+Expected Results:
+that it shows hello world without problems
+
+
+How often does this happen? 
+always
+
+Additional Information:
+
+we are using the version of the June-2