& Lt; sessionStatemode = & quot; SQLServer & quot ;&

Source: Internet
Author: User
The mode attribute is used to set where the Session information is stored. 1. off is set to not use the Session function 2. inProc is set to store sessions in the process, which is the storage method in ASP. This is the default value. 3. Set StateServer to store the Session in an independent State service. 4. Set SQLServer to store sessions in SQLServe

The mode attribute is used to set where the Session information is stored, and 1.Off is set to not use the Session function. 2. InProc is set to store the Session in the process, which is the storage method in ASP. This is the default value. 3. Set StateServer to store the Session in an independent State service. 4. Set SQLServer to store sessions in SQL Serve

The mode attribute is used to set where the Session information is stored,
1. Off
Set to not use the Session Function
2. InProc
Set the Session to be stored in the process, that is, the ASP storage method. This is the default value.
3. StateServer
Set to store sessions in independent State services.
4. SQLServer
Set to store sessions in SQL Server.
You set mode = "SQLServer". If a Session exists, it will be saved in the SQL database.

I have never used SQL Server too. It is best not to use it. It occupies data memory and can use StateServer.

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.