[Mono-bugs] [Bug 444343] New: xsp2 locks up with simple session test method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 12 14:41:46 EST 2008


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: atsushi at ximian.com
        ReportedBy: chmorgan at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list