[Mono-bugs] [Bug 669807] Abandon session then redirect goes boom

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 21 21:47:15 EDT 2011



Angel Colmenares <angel.ignacio.colmenares at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |angel.ignacio.colmenares at gm
                   |                            |ail.com

--- Comment #4 from Angel Colmenares <angel.ignacio.colmenares at gmail.com> 2011-03-22 01:47:14 UTC ---

i'm using mono 2.10.1 and i'm getting same problem
after Session.Abandon() webapp does not work !!!

here is my code:


<%@ Page Language="C#" Inherits="mono2101.Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<head runat="server">
    <form id="form1" runat="server">
        <asp:Button id="button1" runat="server" Text="Click me!"
OnClick="button1Clicked" Enabled="false" />
        <asp:Button id="button2" runat="server" Text="Abandon !!!"
OnClick="button2Clicked" />


using System;
using System.Web;
using System.Web.UI;

namespace mono2101

    public partial class Default : System.Web.UI.Page

        public virtual void button1Clicked (object sender, EventArgs args)
            button1.Text = "Clicked me one more time";

        public virtual void button2Clicked (object sender, EventArgs args)
            button1.Text= "Click me twice!!!";


Server Error in '/' Application

Object reference not set to an instance of an object

Description: HTTP 500. Error processing request.

Stack Trace:

System.NullReferenceException: Object reference not set to an instance of an
  at System.Web.SessionState.SessionInProcHandler.GetItemInternal
(System.Web.HttpContext context, System.String id, System.Boolean& locked,
System.TimeSpan& lockAge, System.Object& lockId,
System.Web.SessionState.SessionStateActions& actions, Boolean exclusive)
[0x00054] in
Version information: Mono Runtime Version: 2.10.1 (tarball dom mar 13 14:08:47
COT 2011); ASP.NET Version: 2.0.50727.1433

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