[Mono-bugs] [Bug 424797] New: SessionStateStoreProviderBase. SetAndReleaseItemExclusive error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 9 11:05:45 EDT 2008


           Summary: SessionStateStoreProviderBase.SetAndReleaseItemExclusive
           Product: Mono: Class Libraries
           Version: 1.9
          Platform: i386
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: jcsegui at cae.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User

Created an attachment (id=238578)
 --> (https://bugzilla.novell.com/attachment.cgi?id=238578)
Class to manage custom session state


I'm developing my own custom session state provider based on databases. When my
overrided SetAndReleaseItemExclusive is called when a new session is created,
the last parameter (bool newItem) is always false which is not correct. This
parameter must be true when the session is about to be created. As a result of
this I can't save any session elements and my app doesn't work. In .NET it
works ok.

On this same method the 4th parameter (object lockId) is null and I think it
should be zero (as in .NET).

I'm using MONO 1.9.1 in Debian Etch with apache 2 and mod_mono 1.9.1

Attached is my SessionStateStoreProviderBase derived class and in my web.config
I've the following in sessionState section:
<sessionState regenerateExpiredSessionId="true" mode="Custom"
          <add name="VTSessionProvider"
            writeExceptionsToEventLog="false" />

I hope you have enough 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