# RedisSessionStateProvider_Demo **Repository Path**: ypfcode/RedisSessionStateProvider_Demo ## Basic Information - **Project Name**: RedisSessionStateProvider_Demo - **Description**: 微软基于redis的分布式session缓存Demo - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-07-02 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RedisSessionStateProvider_Demo 微软基于redis实现的分布式session缓存Demo # 运行redis 1. 配置redis.windows.conf > 修改密码; 2. 设置最大堆内存限制;或者设置最大内存限制 3. 直接运行redis服务注册脚本;或者使用命令: ``` redis-server.exe redis.windows.conf ``` # 配置web.config # 项目中直接使用即可。跟平常使用session一样。只不过这里的session是存在了redis中,而不是存在本地服务器中的内存中。