[
https://issues.apache.org/jira/browse/IGNITE-4186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15654181#comment-15654181
]
ASF GitHub Bot commented on IGNITE-4186:
----------------------------------------
GitHub user ptupitsyn opened a pull request:
https://github.com/apache/ignite/pull/1227
IGNITE-4186 .NET: Fix "Invalid session release request" exception in
IgniteSessionStateStoreProvider.SetAndReleaseItemExclusive
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ptupitsyn/ignite ignite-4186
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1227.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1227
----
commit 8aa73120cb2de5c7f246674d1c06285b50d44ae6
Author: Pavel Tupitsyn <[email protected]>
Date: 2016-11-10T12:15:10Z
IGNITE-4186 .NET: "Invalid session release request" exception in
IgniteSessionStateStoreProvider.SetAndReleaseItemExclusive - add test
commit 89bddf806bc7aa095ed95da4444b96da868de685
Author: Pavel Tupitsyn <[email protected]>
Date: 2016-11-10T12:26:36Z
wip
commit cb61b149d8a8fe3629a5b21583353acb16d75d9b
Author: Pavel Tupitsyn <[email protected]>
Date: 2016-11-10T12:32:14Z
wip
commit c1206774165a469b1429d28ad81345d994a8e389
Author: Pavel Tupitsyn <[email protected]>
Date: 2016-11-10T13:02:37Z
wip
commit 7aac35547aa840882a6783ca6e0b0a32c881e5aa
Author: Pavel Tupitsyn <[email protected]>
Date: 2016-11-10T13:12:53Z
wip
commit 9a6223d52b3b340f6653d757c054446cf728d349
Author: Pavel Tupitsyn <[email protected]>
Date: 2016-11-10T13:55:00Z
wip
commit b7fe4c2f846d8805d4bc094ac2db5937ed11522e
Author: Pavel Tupitsyn <[email protected]>
Date: 2016-11-10T14:26:14Z
fix test
----
> .NET: "Invalid session release request" exception in
> IgniteSessionStateStoreProvider.SetAndReleaseItemExclusive
> ---------------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-4186
> URL: https://issues.apache.org/jira/browse/IGNITE-4186
> Project: Ignite
> Issue Type: Bug
> Components: platforms
> Affects Versions: 1.7
> Environment: Windows 10
> MS VS 2015
> .NET Framework 4.0.30319
> ASP.NET 4.6.1586.0
> Reporter: Ksenia Rybakova
> Assignee: Pavel Tupitsyn
> Fix For: 1.8
>
>
> Steps:
> - Create a new C# Web application in MS Visual Studio
> - Install Apache.Ignite.AspNet package via Tools->NuGet Package
> ManagerPackage Manager Console
> - Open Web.config file, remove default sessionState section in <system.web>
> and add the following instead:
> {noformat}
> <sessionState mode="Custom" customProvider="IgniteSessionStateProvider">
> <providers>
> <add name="IgniteSessionStateProvider"
> type="Apache.Ignite.AspNet.IgniteSessionStateStoreProvider,
> Apache.Ignite.AspNet" />
> </providers>
> </sessionState>
> {noformat}
> - Open Default.aspx.cs file and add the following to Page_Load method
> {noformat}
> Session["test"] = "abc";
> {noformat}
> - Run project
> - Use Incognito mode or clear the cookies and open the main page
> Result:
> {noformat}
> [IgniteException: Invalid session release request, expected lockId: 0,
> actual: ]
>
> Apache.Ignite.AspNet.IgniteSessionStateStoreProvider.SetAndReleaseItemExclusive(HttpContext
> context, String id, SessionStateStoreData item, Object lockId, Boolean
> newItem) +298
> System.Web.SessionState.SessionStateModule.OnReleaseState(Object source,
> EventArgs eventArgs) +573
>
> System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
> +141
> System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
> completedSynchronously) +69
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)