devxlogo

Running Session_OnStart in the Global.asa File

Running Session_OnStart in the Global.asa File

Question:
My Web site does not seem to be doing anything with the Session_OnStart procedure I have written. Any thoughts as to why?

Answer:
Many times programmers place the Global.asa file with other ASP pages. However, keep in mind that the Web site may begin from a different (parent) directory. Move the Global.asa file to the (virtual) root directory of your Web site.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist