-
A session can only be accessed by the current user, and if you use it on another page, another session will be generated
However, the application object can be accessed by all users, but when using it, in order to avoid confusion, it should be locked to lock the lock and unlock methods first.
-
Session is a session object, used for the current session, it seems to have nothing to do with the user, session refers to the interaction between the user and the server, if you open two windows at the same time to solve problems with the same web server, at this time two session objects are generated on the server side.
Application is a global object that every user can access! The default value of the form method should be related to IE, the method must be specified, do not use the default value!
-
session: The current user.
If you get this all wrong, this book is too rubbish.
It doesn't matter whether the default submission method of the html form is get or post, because you know that post is a hidden submission, and get will display all your submissions in the address block. This can determine whether it is a get or a post submission. Therefore, for the sake of security, it is generally submitted with post.
-
The five basic objects that were used in ASP continue to be supported in ASP, but they all serve in a different capacity:
application: wraps the httpapplication object, and the object obtained by using the application instruction in the program is obtained from the attribute backpass. request:
The httprequest object is wrapped, and the object obtained by using the request directive in the program is obtained from the attribute backpass. response: wraps the httpresponse object, and the object obtained by using the response directive in the program is obtained from the attribute backpass.
Session: wraps the httpsessionstate object, and the objects obtained by using the session directive in the program are all obtained from the attribute callback. server:
The httpserverutility object is wrapped, and the objects obtained by using the server directive in the program are all obtained from the attribute backpass.
-
There are too many things. You look here. There are examples.
The Sixth Party Congress was in the Soviet UnionMoscowOn the outskirts of Zvenigorod the town of Serebrøye country house was held. The Sixth National Congress of the Communist Party of China. >>>More
The six counts of substandard product quality", "adding chemicals to milk", "lowering inspection standards", "squeezing dairy farmers", "deceiving consumers", and "putting the best products in Hong Kong and Singapore are not in China" are collectively known as the six major crimes!
Tea has been a part of Chinese culture since ancient times. >>>More
Six manifestations of low emotional intelligence: First, I like to rush to pay for dinner with friends, second, I feel sorry for the shopkeeper when I don't buy anything when I enter the store, third, I won't refuse others, fourth, I always think about others, fifth, others are a little kind to you, you will treat others with your heart and lungs, and sixth, you never take the initiative to deal with others, but you will warmly greet everyone who shows favor to you.
Human nature is good, the child is born a blank paper, his later behavior, thinking are greatly affected by the day after tomorrow, so how to educate children is an eternal topic, every parent hopes to be able to find the answer that can help themselves, in fact, from respect, independence, gratitude, focus, patience and correct values of the six aspects of education, can escort the growth of children, let's take a look at the specific reasons. >>>More