I have very strange problem with session data. Problem doesn't appear when using InProc session mode.
This is how it happens:
1. HttpContext.Current.Session["testparam"] = "string value";
2. I check for this data in Page.Unload event. Data is still there.
3. After another request is initiated I can't fetch data in Page.OnInit although I didn't delete it.
Additional facts:
There aren't any serialization errors in log.
Session database is created using this procedure.
Error appears in both IIS and ASP.NET development server.
I tried both SQLServer mode and AppFabric distributed cache mode.
Any help is appreciated since I'm out of ideas.