ASP. NET learning 2

Source: Internet
Author: User

This. net has been working for a while, because I want to put the original ASPProgramReplace it with one. net, so I have been exploring, learning, getting, searching online, and reading books. To tell the truth, it's really a little uncomfortable. It's still a bit rewarding, after configuration is started, some problems may occur in practice. One of them is about repeated login, which requires a user to log on only once at the same time, the related solution is also found on the Internet. The principle is: Set the expiration time of the session to 10 minutes, and then connect to the test page every 60 seconds on each page, keep the session valid. If no operation is performed after the time is set, the session will expire. Of course, if the user closes the browser directly, the session will expire in one minute. In this way, the requirements can be met. This will solve the problem.

 

 

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.