Record cookie debugging once

Source: Internet
Author: User

I had another debugging experience, but I almost had a cookie shadow.

In fact, the problem is that the cookie is saved in IFRAME. You need to add a response
First, the solution was quickly found. However, there was a mess of problems encountered during debugging. The problem was originally expected to be solved in an hour for three hours.
This is the second cookie in a year. You Need To summarize it.

First, I was impatient. I was able to deal with it in an hour in the initial phase of debugging, and someone was waiting for me. So, after I started debugging, I felt more impatient than before. However, although I think impatience is the first one, it is the least important one.

Second, there is no emphasis on doing things. At first, I felt that this problem should be well solved. Therefore, the debugging method and environment should be well resolved. Actually, the debugging environment was very poor at the time, but I thought the problem was simple and I would like to proceed, every debugging is awkward, which wastes both time and damages your mood. Therefore, if you do not pay attention to it here, you can also say that there are no routines for the method. If you are faced with all the problems, you should first look at the situation, although I felt very simple, I would not waste so much time with the molding model.

There is also a method problem during refactoring. My path to refactoring is from reading refactoring.
After this bookCodeWith Jie Li ). I will take a closer look at the application scenarios and effects of each refactoring method, and ignore the implementation steps. Therefore, ignoring this part, I was retaliated here.
I will perform side refactoring, but there is a lack of fixed methods. I often just need to perform debugging right away after half of the reconstruction, and I completely ignore the steps. So, it is also difficult for you to add your own debugging in an invisible way.

The last point is the variable name. I planted it here. I spent a lot of time in naming problems.

In general, the forming debugging scheme, the correct reconstruction method, and a good working state were the biggest problems at the beginning.

You must remember that you must never make the same mistake again.

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.