Out-of-process session (session saved in SQL Server)

Source: Internet
Author: User

1, session save in SQL Server configuration method1) runs. NETFramework the corresponding version of Aspnet_regsql.exe in the installation directory to create related databases, tables and stored procedures, such as: C:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regsql.exe-ssadd-sstype p-s127.0.0.1-U sa-p123456which-sstype p indicates that the database name is fixed to aspstate,-s (uppercase) as the database server address, and-u and-P are the database user names and passwords, respectively, the parameters are explained in detail in http://blog.csdn.net/yuanzhuohang/article/details/67583042) Modify the configuration of the sessionstate node in Web. config: <sessionstate mode="SQL Server"timeout=" -"sqlconnectionstring="server=.; uid=sa;password=123456;"></sessionState>

Out-of-process session (session saved in SQL Server)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.