In-depth study of Global.asa files with session variable failure prompts

zhaozj2021-02-16  89

About the in-depth study of GLOBAL.ASA files and the specific method of session variable failure prompt (www.jojoo.net) 2002-3-5 (please double-click the automatic scroll to watch, click Stop, then hit ..)

One: Doubt in the global.asa file! Speaking from the literal! Global is global, global meaning! we all know! The variable survival in the browser is very short! Only dozens of seconds! That is, a page download time. So how do we track the Session level variable from life to the end? Relying on the ASP file is not your heart! Microsoft tells us: By our global.asa! Global.asa is an optional file! He must put it under your WWW root directory or under the root of the virtual directory. This way, you can make sure your application share a global.asa file. It is he can always track the application object and session object in your application.

Second: The composition and use of the global.asa file! In order to make the server record a separate user thread. The global.asa file must specify