Also meet the IMG src= "" problem.

Source: Internet
Author: User

Although the problem has been taught n times. But monitoring the development of these two days was again plagued by the problem. They don't know how long it took to find me.

A help page, the session will be lost after browsing, and you will need to log on again. and other pages don't have that problem.

First of all, this page is a static page, so I suspect that there is JS rewrite into a cookie to cause session loss, but search found no JS.

Then consider that some kind of resource loading throws an exception, a sort of troubleshooting. When the IMG SRC is replaced by the IMG Src1, the problem disappears, indicating that the picture load.

Since the picture is loaded, first consider a situation, is a large number of pictures concurrency, resulting in some pictures request time to timeout, and caused tomcat/jboss of the famous

The request does not have an empty bug. However, turn on debug mode to see that, because of local debugging, picture requests are quickly completed. No timeout occurred.

Suddenly a flash, a long time ago resolved the src= "" caused by the session exception, because src= "" in different browser resolution, some will request the current page (a new request, without ETag cache), it is possible to use session expiration. Some will be interpreted as "/" to access the default page, and the default page has many times on the validation server to set the login page and empty session.

So the search is src= "", there is really one. Md.

Remove this src= "" and debug again.

The whole world is quiet.

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.