How to setup sessionState with SQL Server mode on Amazon RDS

前端 未结 2 1169
小鲜肉
小鲜肉 2021-01-15 22:06

I have asp.net app and I\'m going to store my session in SQL Server. I\'m using Amazon RDS (Microsoft SQL Server Express Edition). I am using local db for testing and its wo

2条回答
  •  悲&欢浪女
    2021-01-15 23:00

    I've solved my issue create session DB on Amazon RDS.

    1. Create ASPState DB on AWS RDS and database and schema migration using Following Tool SQLAzureMW v5.15.6 Release Binary for SQL Server 2014.
    2. Change DB Name on sessionState mode="SQLServer" allowCustomSqlDatabase="true" sqlConnectionString="data source=amazon-server-name;initial catalog=ASPState;persist security info=True;user id=userid;password=password" cookieless="false" timeout="100">

提交回复
热议问题