https://bugzilla.novell.com/show_bug.cgi?id=444343


           Summary: xsp2 locks up with simple session test method
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: i586
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web.Services
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


Description of Problem:
xsp2 locks up when a session based method is invoked.

Steps to reproduce the problem:
1. Save the test program to xsptest.asmx,
<%@ WebService Language="C#" Class="Util" %>

using System.Web.Services;

public class Util: WebService {
        [ WebMethod(Description="Per session Hit Counter",EnableSession=true)]
        public int SessionHitCounter() {
                if (Session["HitCounter"] == null) {
                        Session["HitCounter"] = 1;
                }
                else {
                        Session["HitCounter"] = ((int) Session["HitCounter"]) +
1;
                }
                return ((int) Session["HitCounter"]);
        }
}

2. Run xsp2 in the directory with the xsptest.asmx file
3. Visit the website with the web browser and invoke the method

Actual Results:
The method invokation times out.

Expected Results:
The method invokation should repeat without timing out or delay.

How often does this happen? 
Every time.

Additional Information:


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to