I am using redis and I am trying to store the user session in an azure redis, I have tried storing strings in and it works with session.add("nombre", objeto)
and it works for common and current string but when I try to save the session inside (since it is not because it does not do it automatically after configuring web.conf, when trying session.add("unasession",session);
I get the error:
The type 'System.Web.HttpSessionStateWrapper' of the assembly 'System.Web, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a 'is not marked as serializable.