Multi-item Sharing session __.net in asp.net

Source: Internet
Author: User
1. Create a blank solution blank solution, such as: D:/myproject/myproject.sln 2.         Under D:/myproject, build a Web application root directory D:/myproject/webmis and set it to Http://localhost/WebMis virtual directory 3.         Under the Webmis directory, create a new directory based on the module, such as: D:/myproject/webmis/login and D:/myproject/webmis/checkout 4.         In Vs.net, create a new Web application based on the module, such as Http://localhost/WebMis/Login and Http://localhost/WebMis/CheckOut 5.  The new post login and checkout two directories are automatically set to virtual directory 6.         Add the login and checkout project references in the Webmis Project 7. Deletes login and checkout virtual directory 8 in IIS Manager.         Delete each purpose global.asax (root project) 9. Remove the following code from the Web.config (root project) of a project:
<authentication mode= "Windows"/>
<sessionstate mode= "InProc" stateconnectionstring= tcpip=127.0.0.1:42424 "sqlconnectionstring=" Data source= 127.0.0.1; Trusted_connection=yes "cookieless=" false "timeout="/>
or delete web.config (if you do not need to configure in each directory) 10. After compiling, you can run

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.