---
title: "Discussion on \"Asp Core custom session\" | Hashnode"
description: "Discussion on \"Asp Core custom session\". public class CustomSession : ISession { private readonly IDistributedCache cache; private readonly string sessionKey; private readonly string sessionId; private Dictionary<string, byte[]> data; public bool IsAvailable { get; set; }\npublic string Id =..."
url: "https://hashnode.com/posts/asp-core-custom-session/64496985d3bb0a6294b1633c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Asp Core custom session](https://tandan.hashnode.dev/asp-core-custom-session?utm_source=hashnode&utm_medium=feed)

public class CustomSession : ISession { private readonly IDistributedCache cache; private readonly string sessionKey; private readonly string sessionId; private Dictionary<string, byte\[\]> data; public bool IsAvailable { get; set; } public string Id =...

Apr 26, 2023 · 2 min read · tandan.hashnode.dev  
Read the article

## Written by

[Ashok Tandan](https://hashnode.com/@ashok_tandan)

@ashok\_tandan · Gurgaon

  
[View profile](https://hashnode.com/@ashok_tandan)

software developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
