https://bugzilla.novell.com/show_bug.cgi?id=424797
Summary: SessionStateStoreProviderBase.SetAndReleaseItemExclusive
error
Product: Mono: Class Libraries
Version: 1.9
Platform: i386
OS/Version: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: Sys.Web
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: Community User
Created an attachment (id=238578)
--> (https://bugzilla.novell.com/attachment.cgi?id=238578)
Class to manage custom session state
Hello,
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:
<system.web>
<sessionState regenerateExpiredSessionId="true" mode="Custom"
customProvider="VTSessionProvider">
<providers>
<add name="VTSessionProvider"
type="VirtualTutor.Services.SessionStateProvider"
writeExceptionsToEventLog="false" />
</providers>
</sessionState>
</system.web>
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs